Disable Stylesheets in Internet Explorer

Microsofts Browser, the Internet Explorer, is somehow hated by Webdesigners and Developers throughout the world. But still there is discussion over here and there whether or not to support the Browser any longer, for example version 6.

I won’t go through the numerous arguments you can find out there in the net, it’s obviously useless to talk about that highly loaded topic publicly, because many of todays webdesigners see themselves as internet users and not the other way round. Anyway, as pretty every Browser can display websites (for example in HTML 4.01 transitional) and might only have problems with using a stylesheet on that HTML properly, you can easily disable stylesheets for Internet Explorer:

<!--[if !IE]><![IGNORE[--><![IGNORE[]]><LINK REL=StyleSheet HREF="/style.css" TYPE="text/css" MEDIA="screen"><!--<![endif]-->

This is just a one-liner with a negative CSS conditional comment that just does not load the css file referenced by the LINK tag. The best thing is: Users will still be able to use your website w/o being irritated by an esoteric rendering of stylesheets, so you only use that layer of a website that is working robust, the hypertext markup language.

I could get this to work easily on a site and users with IE reported that it does the job flawlessly.

If you’re taking care of a computer network you can disable CSS stylesheets in Internet Explorer throughout the whole network by configuring each installation.

This entry was posted in Pressed, Surviving the Internet and tagged , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s