ailon's DevBlog: Development related stuff in my life

No-CSS fallback for IE5.5 and earlier

5/30/2008 10:43:22 AM

I'm working on a project where I have to support modern versions of Firefox, Opera, Safari and IE6 and higher (hell I wish MS forced upgrade to IE7 through Windows Update) which is standard approach these days. Today I downloaded the excellent IETester and out of curiosity decided to look at how my project looks in IE5.5.

As expected it was a total mess. I have no plans nor requirements to support IE5.5 but I decided to do one simple thing: just skip the CSS file in IE5.5 and earlier so the site looks like it's 1995 but consistent and it's useable.

I've used conditional comments like this

    <![if gte IE 6]> 
    <link href="style.css" rel="stylesheet" type="text/css" />
    <![endif]> 
kick it on DotNetKicks.com

Tags: ,

Comments

3/5/2009 5:47:18 PM

Crazy Xhtml

For my opinion all people in the World need forget about IE 6.

Let's use Firefox or Chrome or Safari.... or IE7 ....
SmileSmile

Crazy Xhtml

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Copyright © 2003 - 2010 Alan Mendelevich
Powered by BlogEngine.NET 1.5.0.7