[thelist] aligning textarea and text
Maximillian Schwanekamp
anaxamaxan at neptunewebworks.com
Fri May 14 16:25:07 CDT 2004
------------------------------
I want to use CSS to align a textarea with the accompanying explanatory
text, thus:
------------------------ Please put the correct information
| | in the textarea. Spell correctly,
| | because we're very fussy.
| |
------------------------
------------------------------
Try this:
<div id="happy">
<textarea name="mybox"></textarea>
Please put the correct information in the textarea.
Spell correctly, because we're very fussy.
</div>
div#happy {
width: 400px;
}
div#happy textarea {
width: 200px;
height: 100px;
float: left;
}
(Season to taste, of course)
Maximillian Von Schwanekamp
Dynamic Websites and E-Commerce
www.NeptuneWebworks.com
voice: 541-302-1438
fax: 208-730-6504
More information about the thelist
mailing list