I wrote:
> I now have this:
> /*  IE 5.5 and 6
>        Georg's underscore hack - gunlaug.no/contents/wd_chaos_20.html */
> @import _url("/Styles/screen_ie_5_55_6.css");


Well... Here's a big issue we've had that may be of interest to your
test page Georg...

It turns out that some of the imports actually produce HTTP requests
from IE7, like this:
GET /contents/styles/_url(%22chaos-060801-test2.css%22)

The resulting 404 page is actually parsed by IE7 as CSS... so if you
have some custom 404 page with embedded CSS, it will be applied by
IE7, with obviously unpredictable results...

In my case, the custom 404 page for the site was using this:
<html>...
<style type="text/css">
div { width: 50%; }
</style>
You can easily imagine the impact of that on any site!

So my solution was to add this mod_rewrite rule:
RewriteRule _url\( null [G,NC,L]

Which simply throws a 410 Gone blank page upon any request for "_url("...

HTH someone out there...

--
Manuel Razzari
[EMAIL PROTECTED] | http://conVistaAlMar.com.ar
______________________________________________________________________
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