IE only stylesheets
- Started
- Last post
- 8 Responses
- section_014
So, after getting tired of trying to make pages look correct with one sheet, I've succumb to creating an IE only stylesheet.
I'm curious how others that are doing it this way handle both style sheets. Do you have both open at the same time and just duplicate as you go? Or, do you do most of the work and go back and tweak the IE sheet?
F@!# IE
- dbloc0
yea IE sucks balls... it should die.
- ********0
I style for all browser using one style sheet, then duplicate that style sheet for IE7,6 to see what not working, then just the the CSS to suit.
- Gordy220
Same as pill. Most stuff will be fine working similar so I just use the IE only to override the CSS I need to.
Also, if you're not already, using a reset stylesheet first cuts down the need to rewrite IE ones.
- Mojo0
This is something akin to what I always use for IE stuff.
<!--[if (IE 8)|(IE 7)]>
<link rel="stylesheet" href="/_assets/css/ie78.css" type="text/css"/>
<![endif]-->
<!--[if IE 6]>
<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" href="/_assets/css/ie6.css" type="text/css"/>
<![endif]-->
- section_0140
<!--[if IE 6]>
//explode computer ----->>>>
<![endif]-->I wish I could do this
- section_0140
The more I run into this shit, the more I think I'm going to start using php to render css files so I can use logic in my css.
- bulletfactory0
<style type="text/css" media="Screen">
/*\*/@import url("/css/master.css");/**/
</style><!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="/css/ie7.css" />
<![endif]--><!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="/css/ie6.css" />
<![endif]-->
- 3030
This is what I do - I write CSS for modern browsers and IE7/8 then using conditional comments (see above) I include CSS file with fixes/degradation for IE6. I don't write completely new styles for IE6; I just fix what looks broken.
So far, I have never run into serious issues with IE7/8; only IE6 is the issue.