On Thursday 10 August 2006 13:50, Paul Collins wrote: > Hi all, > > Just having some trouble with validating I keep getting the report this > report about the maxlength property: > > Error Line 69 column 100: there is no attribute "maxlength". > ...id="good-turn-description" maxlength="50" title="Tell us about > it"/></textar.And my line of code is: <textarea name="test" cols="40" > rows="5" id="description" maxlength="50" title="Tell us about > it"/></textarea> > > And my doctype is: > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > As far as I can see, maxlength is a valid XHTML strict attribute, can > anyone tell me why this isn't validating?! > > Cheers, > Paul >
Maybe <textarea maxlength="50"></textarea> instead of <textarea maxlength="50" /></textarea> :) Cheers -- Pierre-Henri Lavigne [EMAIL PROTECTED] Tel: +33 (0)6.18.75.32.67 ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
