Hey, all I got a complex rule that is comprised by several parts, for example: .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
/* Hides from IE-mac \*/ * html .clearfix {height: 1%;} /* End hide from IE-mac */ I know I can apply this rule to elements by assigned their class attribute with value "clearfix". But how to apply this rule to a set of elements without using the class attribute? for example, <ul> <li> <li> ... </ul> I want to apply this rule to all li elements under ul. Giving every li element a class attribute is very tedious. Is there a solution for this situation? thanks in advance. ______________________________________________________________________ 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/