Ted Drake wrote:

listing a size and max length for the text input field. I would like to define the 
width with css and leave out the size attribute on my input fields.

To get around IE nasty habit of expanding boxes to the destruction of the layout, I set {width : 80%;} with success. The attribute "size" is equivalent to width for all practical purposes. Since this is presentation, it belongs in the CSS.

The "maxlength" is another story; it's the maximum number of character the field will except, and therefor nothing to due with presentation.
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************




Reply via email to