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 Google is the right place.  In 
fact I don't know if google has any such tool.

hth

--- On Sat, 3/7/10, Rick Pasotto <[email protected]> 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?
> 



      
______________________________________________________________________
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/

Reply via email to