Skip to navigation

malevolent design weblog

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.

Blatant self-promotion

Web Sites
Good-looking, effective sites.
Flash Games
Nifty games and online marketing.
Advice
Help with strategy and planning.