careyf
09-23-2003, 06:48 PM
Is it possible to set the width of a textfield (and only the textfield, not select, textarea or other input fields), using CSS?
|
Click to See Complete Forum and Search --> : Set width of textfield with CSS? careyf 09-23-2003, 06:48 PM Is it possible to set the width of a textfield (and only the textfield, not select, textarea or other input fields), using CSS? pyro 09-23-2003, 10:52 PM Yes it is... <input type="text" style="width: 300px;"> or, if you have to do more than one, use a class: <style type="text/css"> .input { width: 300px; } </style> </html> <body> <form> <p><input type="text" class="input"><br> <input type="text" class="input"></p> </form> careyf 09-24-2003, 07:47 AM Thanks so much! pyro 09-24-2003, 07:49 AM You are welcome... :) webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |