Jough wrote:
This subject has probably risen more times than one can count on their fingers, but I have been unable to find the argument online. What, exactly, is the idea behind keeping the attributes of 'rows' and 'cols' a requirement of a textarea in XHTML 1.0? It seems to me that these values reflect formatting rather than valid information.
They provide useful size information in the absence of CSS. Unfortunately, UAs traditionally render textareas without an explicit size as a tiny little box that's difficult to use, so there was a practical need for them rather than a semantic need.
However, the cols attribute is useful in conjunction with the non-standard wrap attribute (which is currently being standardised by the WHATWG) because it adds semantic information about where to insert line breaks.
e.g. <textarea wrap="hard" cols="72"> wrap lines at least every 72 characters and those line breaks will be submitted to the server.
-- Lachlan Hunt http://lachy.id.au/ ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
