Jonas Galvez wrote:
> <div class="a">
> padding: 5px;
> .b {
> padding: 10px;
> }
> #c {
> font-size: 15px;
> }
> </div>
Just to make it more clear, you can also do the following:
<div class="parent">
#specific-case {
}
div.child {
}
</div>
If the selectors starts with '#' or '.', HCSS assumes it's a variation
of the current element. If the selector starts with an element name,
then it's assumed to select the element appearing anywhere under the
parent:
div.parent {
}
div.parent > div.child {
}
div#specific-case {
}
-- Jonas
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/