1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Rep Power

    Align textbox with cSs

    without using <div>. how?

    also, how do you change the color of text? just the text without using <p>.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Nov 2001
    Rep Power
    Here are some examples of using CSS

    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <form name="form1" id="form1">
      <textarea name="textarea" style="width: 300px; height: 100px; float: right; clear: both;">&lt;textarea name=&quot;textarea&quot; style=&quot;width: 300px; float: right; 
      clear: both;&quot;&gt;&lt;/textarea&gt; </textarea>
      <p style="clear: both;">
      <span style="color: blue; font-weight: bold;">Lorem ipsum dolor sit amet</span>, consectetuer adipiscing elects, sed diam<br />
      nonummy nibh euismod tincidunt C laoreet dolore magna aliquam<br />
      erat volutpat. C wisi enim AD minim veniam, quis nostrud exerci<br />
      tation ullamcorper suscipit lobortis nisl C aliquip ex ea control unit<br />
      Duis autem vel eum iriure dolor in hendrerit in vulputate velit ess<br />
      molestie consequat, vel illum dolore have feugiat nulla facilisis At vero<br />
      Eros and accumsan and iusto odio dignissim which blandit praesent luptatum<br />
      zzril delenit augue duis dolore feugait you nulla facilisi.</p>
    Also check out

IMN logo majestic logo threadwatch logo seochat tools logo