pistacchio
pistacchio

Reputation: 58893

Internet Explorer conditional comment not closing

I'm using conditional comments to include a IE7 only stylesheet.

<!--[if IE 7]>
    <link rel="stylesheet" href="http://itmalsvmsv1:8005/searchPeople_ie7.css" type="text/css" />
<![endif]-–>

Pretty standard, I think, but the page results blank. Seems like the comment opens but never closes and so the whole page is blanked out. Any Help?

Upvotes: 1

Views: 73

Answers (1)

thirtydot
thirtydot

Reputation: 228182

The problem is with this line:

<![endif]-–>

The last dash in the line is not the right kind.

Use this instead:

<![endif]-->

Upvotes: 6

Related Questions