"cols" is used to define the number of  characters on a line. That is
percent is giving you an error. The default for this in html 4.01 is
80.
I believe in xhtml it is required to be defined.

Parker
Unfolded WebDesign
http://webdesign.parkertorrence.com

On 5/23/05, Leslie Riggs <[EMAIL PROTECTED]> wrote:
> When validating a page containing a form for XHTML 1.0 Transitional, I
> get the following message regarding a textarea:
> 
>  required attribute "cols" not specified
> 
> Why can't we specify a percentage width for the textarea in the CSS
> instead?  It works, but it doesn't validate without the cols attribute
> being defined, and if I'm going to define "cols" then there's no purpose
> for the width in the CSS, is there?  Does this have to do with being
> able to enter text beyond that CSS-defined width?
> 
> Thanks for your enlightenment...
> 
> Leslie Riggs
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
> 
>
******************************************************
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