antpower26 Posted August 4, 2011 Report Posted August 4, 2011 Hi All I am just trying to write IE conditional comments for IE 6/7, the code is working as in both browsers the specific stylesheet coded fixes the various problems with the CSS. However the problem I have that some of the conditional comment is appearing in the top left of the browser only in IE. The code I am using is: <!--[if (IE6) (IE7)]><link rel="stylesheet" type"text/css" href="IE6.css><![endif]--> The code appearing is before and after the stylesheet code. Any help appreciated. Ant Quote
falkencreative Posted August 4, 2011 Report Posted August 4, 2011 That doesn't look like the valid syntax for conditional comments -- specifically this section: <!--[if (IE6) (IE7)]>. I'd suggest looking at that first. See http://www.quirksmode.org/css/condcom.html Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.