[css-d] ID overly qualified with tag

2010-07-03 Thread Rick Pasotto
I just ran google's speed test on one of my pages and it reports many inefficient rules. They are all of the form: div#footer p Is google telling me that the 'div' part is not necessary and that it slows processing? -- Any fool can criticize, condemn, and complain but it takes character and

Re: [css-d] ID overly qualified with tag

2010-07-03 Thread Chris Cressman
I just ran google's speed test on one of my pages and it reports many inefficient rules. They are all of the form: div#footer p Is google telling me that the 'div' part is not necessary and that it slows processing? Most likely. Since an ID is unique to a document, the element type is

Re: [css-d] ID overly qualified with tag

2010-07-03 Thread Philippe Wittenbergh
On Jul 3, 2010, at 10:57 PM, Rick Pasotto wrote: I just ran google's speed test on one of my pages and it reports many inefficient rules. They are all of the form: div#footer p Is google telling me that the 'div' part is not necessary and that it slows processing? yes, that is about

Re: [css-d] ID overly qualified with tag

2010-07-03 Thread Jay Tanna
I normally style my IDs as follows: #footer p { } /* I don't use DIV before # */ #nav { } #nav ul { } #nav ul li { } #nav ul li a:hover, a:active { } Notice that each line follows/builds from the one before to ensure everything is taken care of. To validate your HTML and/or CSS I don't think

Re: [css-d] ID overly qualified with tag

2010-07-03 Thread Thierry Koblentz
I normally style my IDs as follows: #footer p { } /* I don't use DIV before # */ #nav { } #nav ul { } #nav ul li { } #nav ul li a:hover, a:active { } I guess you mean: #nav ul li a:hover, #nav ul li a:active { } Notice that each line follows/builds from the one before to ensure