Skip to navigation

malevolent design weblog

This blog is now defunct, but you can find more stuff over at my personal site

Hiding CSS From IE5

Following on from yesterday’s ramblings, here’s an example of how to use conditional comments to hide style sheets from Internet Explorer 5/5.5:

<!--[if gte IE 6]><!-->
<link rel="stylesheet" type="text/css" href="/_assets/css/screen.css" media="screen,projection,print" />
<link rel="stylesheet" type="text/css" href="/_assets/css/print.css" media="print" />
<!--<![endif]-->

Comments


Comments are now closed for this entry.