|
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]
|