Sent by Gunlaug_Sørtun on 1 March 2007 01:01
Dejan Kozina wrote:
> Unless I misunderstood you badly, you're expecting IE to read
> IE6_default.css INSTEAD of default.css. Well, it won't. IE will
> happily load any linked or included stylesheet. The CCs will only
> prevent other browsers to load the one inside the comment.
> You should link the default stylesheet first, and then use the
> 'commented' stylesheet only for correcting the values of the first
> one (as it comes later in the document it will overwrite the previous
> values).
That's correct, and is how 'conditional comments' for stylesheet-links
are normally used.
For the odd case where we really want/need IE/win to _only_ read _one_
stylesheet and non-IE/win browsers to _only_ read _another_ stylesheet,
a valid variant of the 'downlevel-revealed' or 'reversed Conditional
Comment' can be used.
See...
<http://www.gunlaug.no/contents/wd_1_02_01.html#item23>
....for examples, and links to original descriptions on variants of this
method.
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/