Style Sheet Switcher

By JavaScriptSource Staff on Jun 8, 2005


When the page loads, this script will detect whether you are using Microsoft Internet Explorer or another browser. It will then load the appropriate style sheet.

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: styleSheetSwitcher.js


Paste this code into the HEAD section of your HTML document.