[EMAIL PROTECTED] wrote:

> Wouldn't it be a more elegant solution to put conditional comments in
>  the CSS document itself? Styles for specific browsers could be kept 
> in a central location, with the added bonus of being cached on the 
> client's machine instead of having to push these comments over the 
> wire again and again.
> 
> Am I over-reacting to this? Does anyone else have an issue with this?

Well, if you are lucky enough to have the server on your side, then
maybe you _can_ control IE5 - 7 separately without touching the
source-code in your 7000 pages.

I only have a few hundred pages - and I'm deleting old 'conditional
comments' instead of adding new ones...
<http://www.gunlaug.no/contents/wd_additions_12.html>
...using an @import hack in the main stylesheet to feed Trident (IE/win)
a separate stylesheet.
It works as if I had a <!--[if IE]> link, but from within the main
stylesheet. That's one @import, instead of several hundred or thousands.

Some have problems getting such an @import hack to work, and _if_ it
works than it's about as safe as any other hack that relies on browser-bugs.
The whole idea _is_ that such hacks _shall_ break in future browser-version.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
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