开发者

Why doenst it apply my IE stylesheet?

If you take a look at: http://www.nrgi-raadgivning.dk/erhverv You can see in the code, that if you are coming from an IE, it should apply a stylesheet...

The IE stylesheet is supposed to set the margin:0 at the dropdown menu ul, but i doesnt? Any ideas to whats开发者_如何学运维 wrong?


From your markup:

<!--[if IE]>
    <link rel="stylesheet" type="text/css" href="/Files/System/ie7.css" />
<![endif]-->
<!--[if lt IE 7]>
    <link rel="stylesheet" type="text/css" href="/Files/System/ie7.css" />
<![endif]-->

However, the linked URL returns a "File not found message":

http://www.nrgi-raadgivning.dk/Files/System/ie7.css

Also, did you mean to link the same stylesheet twice? If so, you should be able to drop the second conditional comment.


Not found is a simple error irrelevant of the content within the CSS. Make sure your path (/Files/System/ie7.css) is right.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜