Problem with <![/endif]-->

61 views
Skip to first unread message

Matthijs

unread,
Sep 10, 2012, 4:10:07 AM9/10/12
to bluepr...@googlegroups.com
I always had a problem with the css that the site would become incorrect in IE7 and for all other explorers not so I did put in a:
<!--[if gte IE 7]>
<link href="(no importante)" rel="stylesheet" type="text/css"  />
<![/endif]-->

But now if I open the website in IE the text <![/endif]--> appears in the left top corner.

Please help me

Christian Montoya

unread,
Sep 10, 2012, 8:06:36 AM9/10/12
to bluepr...@googlegroups.com
Hi,

You are not supposed to include a / in the [endif]. It is not like a
real code statement. Use the following:

<![endif]-->

And it should work fine.

--
Christian Montoya
christianmontoya.net
Reply all
Reply to author
Forward
0 new messages