Creating an IE Specific style sheet

Ever noticed that sometimes, no matter what you do IE just won’t display things the same as other browsers?

You try to fix the aesthetics and next thing you know all the other browsers look bad.

The solution is simple, create a style sheet specificly for internet explorer and then use the following code in your header to point to your IE specific style sheet.

<!–[if IE]><link rel=”stylesheet” href=”style-ie.css” type=”text/css”>
<![endif]–>

Replace “style-ie.css” with the name of and path to your ie specific style sheet.

About Propy

Speak Your Mind