They are both equal, because of the comma separation.

Cheers

Jeff Lowder
Accessibility 1st
Website: http://www.accessibility1st.com.au


On 15/12/04 9:46 AM, "John Allsopp" <[EMAIL PROTECTED]> wrote:

> Perhaps someone has seen, or has a definitive answer to this question
> 
> which has the higher specificity
> 
> h1 {}
> 
> or
> 
> h1, h2 {}
> 
> (don't worry about the order in the style sheet, just in an absolute
> sense)
> 
> Relevant part of the CSS specification is here
> 
> http://www.w3.org/TR/CSS21/cascade.html#specificity
> 
> FWIW, I think it is ambiguous. But strictly thinking,
> 
> "count the number of element names and pseudo-elements in the selector"
> 
> I interpret to mean that the group is of specificity 2, and so higher
> than the type selector, of specificity 1
> Or do they both have a specificity of 1?
> 
> Thanks, interested in people's thoughts,
> 
> john
> 
> John Allsopp
> 
> :: westciv :: http://www.westciv.com/
>        software, courses, resources for a standards based web
> :: style master blog :: http://westciv.typepad.com/dog_or_higher/
>   
>    
> 
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
> 




******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to