Skip to navigation

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]-->

Filed under: Client-side Coding, Hints and Tips, Web


Comments


Comments are now closed for this entry.

Malevolent Design Weblog

Matt Round’s company blog, covering web development, media, technology and pretty much anything else.

Blatant self-promotion

Web Sites
Good-looking, effective, accessible sites.
Multimedia
Logos, Flash games, animation and illustration.
Advice
Help with strategy, planning and getting noticed.