CSS question

Out of context: Reply #4

  • Started
  • Last post
  • 8 Responses
  • ukit0

    Sure, but I'm talking about syntax in the stylesheet rather than in the HTML. So the HTML would be:

    class="classname classname"

    and the stylesheet would be:

    classname.classname {
    style
    }

    to indicate styles for that combination of classes only.

    This is handy in IE7 and FF from a dev point of view because you can append a generic class to a div, like

    class="nav_home on"

    Just wondering if there's away to get it or something similar to work in IE6.

View thread