I've found this way to feed CSS to IE5.x only. I searched the archive
but did not find any reference to it. Anybody using it?


First, you have to add a class to your html element:

  <html class="IEhack">

Second, you use this selector:

  * html.iehack div { width: 100px; }

IE 5.x (mistakenly) uses a case-insensitive compare of the class names
and applies this rule. IE 6.0 uses a (standard-compliant) case-sensitive
compare and does not match this rule.


I've not been able to test this on IE5/mac and would like to know if it has the same bug as IE5/win.



--
Marcello Perathoner
[EMAIL PROTECTED]


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

Reply via email to