You’ve developed a site using W3C best practices; it validates, the markup’s semantic or as clean as possible, and looks great in Firefox. The problem is, Internet Explorer doesn’t quite see it as the designer intended. The CSS is out and in need of a few hacks; but there’s a better, more effecient and tidier solution – conditional comments.
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" href="css/ie.css" media="screen" />
<![endif]-->
(more…)
Fixing Internet Explorer CSS Problems with Conditional Comments
Thursday, December 17th, 2009You’ve developed a site using W3C best practices; it validates, the markup’s semantic or as clean as possible, and looks great in Firefox. The problem is, Internet Explorer doesn’t quite see it as the designer intended. The CSS is out and in need of a few hacks; but there’s a better, more effecient and tidier solution – conditional comments.
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" href="css/ie.css" media="screen" />
<![endif]-->
(more…)
Tags: conditional comments, css, IE6, IE7, Internet Explorer
Posted in Tips | No Comments »