[html-formfu] Class names

Andreas Marienborg omega at palle.net
Wed Jun 6 21:03:31 GMT 2007


Alan Hicks wrote:
> Carl Franks wrote:
>> On 06/06/07, Alan Hicks <ahicks at p-o.co.uk> wrote:
>>> 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 (-)
>>
>> They're multiple class names, separated by spaces.
>>
>>
> Can multiple names be configured to be joined with something else 
> instead of a space for example an underscore?
The way you specify multiple css-classes is with spaces. You cannot use 
anything else to specify that an element has multiple classes.

If you could tell us the problem you are trying to solve, it might be 
easier to understand and help :)



- andreas




More information about the HTML-FormFu mailing list