Defining width and height of text boxes with CSS

Giganews Newsgroups
Subject: Defining width and height of text boxes with CSS
Posted by:  an…@ubaccess.com (Anna)
Date: 24 Nov 2003

Hi all.
I have a text box:
<input type="text" size="36"/>
and a textarea:
<textarea rows="3" cols="26"></texarea>
and I use these in several pages.

Is there a way to define the sizing of the text box and textarea in css,
so that if I will need to change them, I will be able to change it just
in the stylesheet, instead of changing every single occurence of these in html?

Thank you very much for help.

Anna

Replies