How do I select a class like class=\"boolean optional\"
?
I have tried this:
.boolean optional {CSS}
.boolean_optional {CSS}
>
Classes will never actually have spaces in their name. In your example, that is actually two classes; boolean
and optional
.
to apply style to an element that has both of those classes, the construct is
.boolean.optional {
/* CSS */
}
However, IE6 is known to have some issues with this. See this link for more details on known quirks.