You are here: Re: difference between css declarations « HTML « IT news, forums, messages
Re: difference between css declarations

Posted by Pete Gray on 11/12/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/>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация