CSS with Forms

liunx

Guest
Hi all,

I was just wondering if it is possible to set text box lengths with CSS?

Also can Textarea feild lengths/heights be done in CSS as well?

Edit: Here is my website <!-- m --><a class="postlink" href="http://www.macleaybec.com.au">http://www.macleaybec.com.au</a><!-- m --> (which I am still designing), and I have forms on "Membership" and "Contact us". I have got the layout in table design and I was wondering if there was a better way of doing it.

Thanks in advance!!Yes, but the rows and cols attributes must also be used for validation
input {width:10em;}
textarea {width:10em; height:10em;}
.
.
<input type="text">
<textarea rows="10" cols="10">

The css will override the rows and cols attributesThanks fang,

I was not sure if you could do it with forms. are there any elements that cannot be done with CSS?Can't think of any elements offhandthanks for helping
 
Back
Top