>Hello, I would just like to know the following conditional statement
>(below) inside a external CSS file would work to have IE6 show a
>different image ? And you would nest this conditional statement within
>another style sheet?
>
><!--[if lte IE 6]>
><link rel="stylesheet" href="replaceimage.css" type="text/css" />
><![endif]-->
>
>Inside External style sheet...
>
>* html #lovely {background: url(lovely.gif) no-repeat}
Generally, one either has a conditional comment in the (X)HTML
document to bring in workaround styles (your first example), or one
uses CSS hacks (your second example) in the stylesheet every browser
sees. Using both simultaneously is almost never done, because it's
redundant.
And I don't believe you can put conditional comments inside
external stylesheets and have them do anything, since external
stylesheets aren't (X)HTML and so any (X)HTML comments should be
completely ignored.
--
Eric A. Meyer (http://meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
-- Martina Kosloff (http://mako4css.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/