Re: [css-d] Eric Meyer on CSS - td#advert

2005-06-05 Thread Paul Novitski
At 05:24 AM 6/5/2005, Ian Sweeney wrote: td#advert {width: 234px;} Could that rule not simply be #advert {width: 234px;} Since #advert should refer to a unique identifier, why does the selector specify the 'td'? At 06:10 AM 6/5/2005, Neal Watkins wrote: td#advert is has a higher specificity

Re: [css-d] Eric Meyer on CSS - td#advert

2005-06-05 Thread Neal Watkins
Yes it could - The difference would be specificity td#advert is has a higher specificity and in case there is a conflict (it does happen) it will apply over #advert http://www.w3.org/TR/REC-CSS2/cascade.html#specificity Neal > The first chapter of 'Eric Meyer on CSS' listing 1.1 has the follow

Re: [css-d] Eric Meyer on CSS - td#advert

2005-06-05 Thread Kelly Miller
Ian Sweeney wrote: The first chapter of 'Eric Meyer on CSS' listing 1.1 has the following CSS rule td#advert {width: 234px;} Could that rule not simply be #advert {width: 234px;} Since #advert should refer to a unique identifier, why does the selector specify the 'td'? Ian Sweeney Well,

[css-d] Eric Meyer on CSS - td#advert

2005-06-05 Thread Ian Sweeney
The first chapter of 'Eric Meyer on CSS' listing 1.1 has the following CSS rule td#advert {width: 234px;} Could that rule not simply be #advert {width: 234px;} Since #advert should refer to a unique identifier, why does the selector specify the 'td'? Ian Sweeney -- No virus found in this ou