You are here: Re: Conditional Comment, it works, but why? « HTML « IT news, forums, messages
Re: Conditional Comment, it works, but why?

Posted by dorayme on 10/24/06 23:10

In article
<0001HW.C1640B07004100C6B019F94F@News.Individual.Net>,
patrick j <patrick@jamesnews.orangehome.co.uk> wrote:

>
> I understand why the conditional comment works, ... What
> I don't understand is why IE "ignores"
> the link to the CSS that precedes the conditional comment link.
>


Think of a single stylesheet, and two instructions:

div {

padding: 5px;
padding: 40px:
}

Browser reads both but resolves to the last instruction. You get
big padding!

But with

div {

padding: 40px;
padding: 5px:
}

you get modest padding.

Similar thing with stylesheet declarations in the head, the last
one is the one that counts (if it is can be understood!)

--
dorayme

 

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

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