Now Using the Universal IE6 Stylesheet
Published Thursday 18th of June 2009
When looking through the stats for my various sites I noticed that some people are actually still viewing them in IE6. Today I decided to get rid of all my IE6 and IE7-problems forever.
I recently read about Andy Clarke's Universal Internet Explorer 6 CSS and decided it was about time I implemented something like this in aFramework.
If you've been following Exscale you'll know that I've used an "IE-warning" for some time, but I very much prefer this approach where IE-users still get a rather pleasant experience (rather than a completely broken site and a warning).
I've still kept the notice though, encouraging IE-users to upgrade to a real browser.
I decided to implement it for both IE 6 and 7. The latter is of course better but it's still pretty bad and 8 is out so there's no reason not to use that if you absolutely must stick with M$.
I'm not just hiding styles but also decided to not give those versions of IE any JS. I build everything with progressive enhancement so the site will still be accessible.
If you're interested in the code used to serve my real style and scripts to everything but IE6 and 7 and the "universal ie6 css" to them here it is:
<!--[if !IE 6 & !IE 7]>-->
<link rel="stylesheet" type="text/css" media="screen,projection" href="real-stylesheet.css" />
<!--<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" media="screen,projection" href="http://universal-ie6-css.googlecode.com/files/ie6.0.3.css" />
<![endif]-->
How are your feelings on IE6?
- Tags
- No tags
- Comments
- 3 comments
Post a Comment
Random jQuery Plug-ins
Show Password
This little plug inserts a "View password"-checkbox next to inputs of type password that allows the user to toggle the password's visibility. When the...
Checked checkbox-parent
This tiny plug-in adds and removes a 'checked'-class to input[type=checkbox]'s parents. Very useful if you want to style the entire wrapping <label>-e...
Numeric DL
This tiny plug-in numbers definitions in a definition-list if there are more than one definition for a term. Can be useful for FAQs, actual lists of d...

Comments
Published Sunday 21st of June 2009
Mycket imponerande min ung lärling!
Published Monday 29th of June 2009
IE6 är mer eller mindre dött, så jag tycker personligen att man i princip aldrig behöver bry sig om den längre. :P
Published Monday 29th of June 2009
Håller med om att den är nära döden, men många kunder kräver fortfarande IE6-stöd så än är den tyvärr inte helt död... inte för mig iaf.
Som du vet skulle jag aldrig orka hacka för IE6 på en egen sajt, faktum är att både 7an och 8an också får universal-CSSn.