Forum Moderators: open

Message Too Old, No Replies

form question

align forms with description without tables

         

furtivefelon

3:14 pm on Aug 13, 2004 (gmt 0)

10+ Year Member



Hi, I tried do a form without using tables to align the input boxes with it’s description, with tables, it goes something like this:
<table class="content" cellspacing="0" cellpadding="0"><tr><th colspan="2">Notes</th></tr>
<tr><td valign="top">Subject :</td><td><input size="44" value="" style="width: 400px" name="pn" maxlength="100" type="text"></td></tr>
<tr><td valign="top">Short Description :</td><td><textarea rows="3" style="width: 400px; height: 40px;" name="d" cols="47"></textarea></td></tr>
<tr><td valign="top">Content :</td><td><textarea rows="10" style="width: 400px; height: 160px;" name="d" cols="47"></textarea></td></tr>
</table>

But I don’t want to use the tables, is there any way using style sheets to accomplish this?

bumpaw

6:52 pm on Aug 13, 2004 (gmt 0)

10+ Year Member



I think this is what you are looking for.
[webmasterworld.com...]

furtivefelon

8:56 pm on Aug 13, 2004 (gmt 0)

10+ Year Member



thankx! that really helped!