Posted by Pete Gray on 10/06/95 11:24
In article <1124548896.477233.305890@g14g2000cwa.googlegroups.com>,
usenet@safalra.com says...
> ppcguy wrote:
> > * html #menu { }
> >
> > and
> >
> > #menu span { }
> >
> > [snip]
> >
> > is there a difference between the two css declarations.
>
> Yes. The first one shouldn't work - it matches an element with id
> 'menu' that is a descendant of an element of type html that is a
> descendant of any element - the html element is never the descendant of
> another element.
>
It shouldn't, but it will work in IE (only).
<http://www.info.com.ph/~etan/w3pantheon/style/starhtmlbug.html>
....thus forming the basis for a number of CSS hacks to deal with IE's
deficiencies.
--
Pete Gray
Say No to ID Cards <http://www.no2id.net>
<http://www.redbadge.co.uk/no2idcards/>
[Back to original message]
|