Posted by David Hεsδther on 11/12/45 11:24
Benjamin Niemann <pink@odahoda.de> wrote:
> ppcguy wrote:
>
>> i've got
>>
>> * html #menu
>> {
>> }
>>
>> and
>>
>> #menu span
>> {
>> }
>>
>>
>> <body>
>> <span id="menu">
>> </span>
>> </body>
>>
>> is there a difference between the two css declarations.
[...]
> What you probably want is 'span#menu'.
> Then both rules would match your <span> but with different
> priorities, so they are are not 'the same'.
Except, of course, that "* html #menu" will never match anything
(unless there is a buggy implementation).
--
David HΓ₯sΓ€ther
[Back to original message]
|