Thanks, Mauricio!

Rick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mauricio Samy
Silva
Sent: Thursday, June 14, 2007 7:02 PM
To: Rick Faircloth; css-d@lists.css-discuss.org
Subject: Re: [css-d] Relationship between styles settings and stylesheets

From: "Rick Faircloth" <[EMAIL PROTECTED]>
Subject: [css-d] Relationship between styles settings and stylesheets
> What I would like to know is the relationship (perhaps hierarchy is 
> better)
> between styles on a page or between a main stylesheet and a stylesheet,
> say, for just IE and one for the rest.
..........................................
> I was doing some reading that suggested using various separate stylesheets
> for browsers.
> Is that considered best practice?  Having an IE stylesheet and one for the
> other  browsers or is it better just to use conditional statements?
----------------------------------------------------------------------------
---------
Hi Rick,
The best practice is to avoid 'hacks', but if  you cannot avoid, a good 
choice is
to serve a completely separate Style Sheet for IE via conditional comments.
Something like:
<link rel="stylesheet" blah blah href="styles/main.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" blah blah href="styles/ie-hack.css" />
<![endif]-->Regards,

MaurĂ­cio Samy Silva
http://www.maujor.com/ 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to