On Jul 22, 2010, at 12:26 AM, Gabriele Romanato wrote:
> Kris, you should basically use cascade. For example, if you have a
> structure like this:
>
> <div id="test">
> <ul>
> <li></li>
> <!--more-->
> </ul>
> <div>
>
> you can do this:
>
> #test ul {}
> #test ul li {}
And you certainly can optimise those selectors for better performance and
simplicity:
#test ul { }
#test li { }
#test a { }
Philippe
---
Philippe Wittenbergh
http://l-c-n.com/
______________________________________________________________________
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/