FYI: I dont believe IE6 supports chaining multiple selectors on an element,
i.e. .foo.bar, the work around for this has often been to create a new
classname like ".foo_bar"... *pritty orrible ay no*


On Fri, Feb 11, 2011 at 12:57 PM, Trygve Lie <[email protected]> wrote:

> Hi
>
> > Also, I think it's pretty much accepted to use dashes in CSS (rather than
> > underscores or camel case).
>
> I would not use that. Dashes has a function in CSS.
>
> The following will select a element with both "foo" and "bar" as class
> names:
> .foo.bar { }
>
> In other words:
> .foo.bar { }
> will match with:
> <div class="foo bar">Something</div>
>
> Example:
> http://files.trygve-lie.com/examples/css_dash/
>
> Kind regards
> Trygve Lie
>
> --
> To view archived discussions from the original JSMentors Mailman list:
> http://www.mail-archive.com/[email protected]/
>
> To search via a non-Google archive, visit here:
> http://www.mail-archive.com/[email protected]/
>
> To unsubscribe from this group, send email to
> [email protected]
>

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to