Here’s a breakdown of a quick & dirty fix for browser incompatibilities when it comes to CSS design. We are all too famiar with the headaches IE causes when trying to create proper CSS styles so instead of butchering the CSS you have already created, you know, the one that looks so perfect in Firefox but somehow becomes an absolute mess in IE? Well, instead of going crazy tweaking that stylesheet, simply create a different one for use in IE that corrects any issues your original one caused. You will end up with two stylesheets with a bit of code to determine which browser is accessing your site. Here’s how it will look:
<head> <title>Page title</title>
<link rel='stylesheet' type='text/css' href='normal.css' />
<!--[if IE]>
<style type="text/css">@import "ie_fixes.css";</style>
<![endif]-->
</head>
Simple, no?
For a more in-depth study, check out this developers article.
Sponsors






1 Comment
Pingback & Trackback
Random Post
Leave Your Comments Below