Topic: IE vs other browsers?
Anyone have any nice tricks to apply css to only one type of browser?
I have yet to run into a difference with gecko based browsers (mozilla) and Opera; But IE never seems to display the same way, and even different version of IE render pages drastically different.
At the moment in most of my xhtml files I have this in the header:
<link rel="stylesheet" type="text/css" href="./css/default.css" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="./css/default.ie.css" />
<![endif]-->
<!--[if IE 5]>
<link rel="stylesheet" type="text/css" href="./css/default.ie5.css" />
<![endif]-->
<!--[if IE 5.5]>
<link rel="stylesheet" type="text/css" href="./css/default.ie55.css" />
<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="./css/default.ie6.css" />
<![endif]-->
Then in each ie css I just override the default definitions to suite IE, and again for each version of IE.
Anyone else use something like this? And how different is the safari based browsers VS mozilla/Opera? Anyone ever have to hack and slash at safari browsers, like I do IE?