> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> discuss.org] On Behalf Of Alan Gresley
> Sent: Monday, March 10, 2008 7:50 AM
> To: Mark Richards
> Cc: css-d@lists.css-discuss.org
> Subject: Re: [css-d] Targeting IE8 (was: IE8 is better but still slightly
> broken)
> 
> 
> > > /*\*//*/
> > > @import url("test-ie8.css");
> > > @import("test-ie.css");
> > > /**/
> > > @import test-ie; /* For IE5~7/Win */
> >
> > You seriously feel the above code is more readable, maintainable, and
> > logical compared to this:
> >
> > <link rel="stylesheet" type="text/css" href="/css/style.css">
> > <!--[if IE 7]>
> > <link rel="stylesheet" type="text/css" href="/css/style_ie7.css">
> > <![endif]-->
> > <!--[if IE]>
> > <link rel="stylesheet" type="text/css" href="/css/style_ie.css">
> > <![endif]-->
> 
> 
> Yes I do. I have changed my import slightly.
> 
> 
> /*\*//*/
> @import url("test-ie8.css");
> @import("test-ie.css"); /* IE/Mac */
> @import test-ie; /* For IE5~7/Win */
> 
> 
> The above code appears on "one" CSS file. I know exactly what it does.
First
> we have the beginning of the IE/Mac pass band filter. Both IE/Mac and IE8
see
> /*/ as /**/ so they parse there respective imports. The filter is closed
here
> /* IE/Mac */ and IE7 uses the next import. Only the first import is valid.
> 
> Anyhow, I was surfing and I have stumbled on to a new IE8 hack. Some list
> member (Thierry!) has discovered that IE8 doesn't need the beginning
/*\*/. I
> haven't tested but I could just have.
> 
> /*/
> @import url("test-ie8.css"); /* IE8 */
> @import test-ie; /* For IE5~7/Win */
> 
> 
> I find all those linked style sheet redundant. You only need one. Even if
you
> had an extra one for IE, why can't you use the star html (* html) or
escapes
> within the style sheet to target or filter the difference versions of IE?
> 
> Thierry, come on, share what you discovered. :-)

Hi Alan,

I shared the "position:relative" fix for links, but that one is not my
finding.
I'm pretty sure this ie8 filter is called the Bruno hack ;)


-- 
Regards,
Thierry | http://www.TJKDesign.com



______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to