With IE7 almost here, there's a lot of discussion about the best ways to filter certain rules for different browsers.
The system I have used so far is to start importing a general stylesheet. <link rel="stylesheet" type="text/css" href="/css/styles.css"> Then within that stylesheet I import the other general stylesheets with the @import rule. In the same stylesheet I use the midpass filter from Tantek to give IE5 it's own stylesheet. /* IE5/Win styles, using the Mid Pass Filter: http://tantek.com/CSS/Examples/midpass.html -------------------------------------------------------------------- */ @media tty { i{content:"\";/*" "*/}} @import 'ie5win.css'; /*";} }/* */ Most of the times to give it a slightly different font-size, remove some floats etc. So far this has worked great. However, with IE7 coming and reading more about it I'm thinking about using conditional comments to give IE it's own stylesheets. I could use: <!--[if lt IE 7]> <link rel="stylesheet" type="text/css" href="/ie.css"> <![endif]--> And then in ie.css target IE5win further with the midpass filter. That way, all (if any) hacks are completely seperate from the normal stylesheets. My questions: - Has anyone any idea how IE7 will handle the midpass filter? - Are there any other issues I have to deal with? I know there's already quite some reading material, but I would like to hear your experience and advice in this matter. (off course, if it's possible, I will try to not use any hacks. But that's another discussion..) Thanks, Matthijs ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/