[thelist] CSS selectors
Marcus Andersson
marcus at bristav.se
Thu May 27 14:14:19 CDT 2004
Say I have a div like
<div class="nodeContainer leaf">...</div>
and another div like
<div class="nodeContainer leaf last">...</div>
I want to do something like:
div.tree div.leaf {
styleing stuff
}
/* The following selector is wrong but I wonder how I can (if possible) do it */
div.tree div.leaf&&last {
styling stuff that overrides a couple of properties
}
Is it possible? How do I do? Or do I have to add more elements to express what I want?
It would be really nice...
/Marcus
More information about the thelist
mailing list