[html-formfu] Class names

Alan Hicks ahicks at p-o.co.uk
Wed Jun 6 16:14:14 GMT 2007

Is there a reason why class names have spaces?  In the vertically 
aligned example, the first Text element has a class "text label" which 
appears to go against http://www.w3.org/TR/REC-CSS2/ which only allows 
[A-Za-z0-9] plus the hyphen (-)

I noticed this after putting a test script together, it threw up the 
difference, easily renamed if I have to.

It appears to still work in Firefox, Konqueror, Epiphany and Micro$oft 
IE7 though I haven't tested any of the others yet.


More information about the HTML-FormFu mailing list