Hi!

I have a question about efficient selectors. I tried Page Speed extension for Firebug which analyzed use of efficient CSS selectors among lots of other things. Page Speed considered longer(#header ul li a) selectors inefficient and recommended to fix them.

Is there a good reason to use this kind of selector "#header ul li a {...", instead of just "#header li a"? Is it considered best practice, or why this is so commonly used?


Ville



______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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/

Reply via email to