Paul,
Yes, IE appears to be the only browser [family] that processes CSS selectors that indicate a parent to the html element. Therefore:
* html [anything]
is correctly ignored by all other browsers but erroneously processed by IE as though the asterisk weren't there.
(I'm not enthralled by hacks of this type. If Microsoft fixes this bug in a future IE release but doesn't fix others, stylesheets that use this hack will suddenly start breaking in IE. Better, I think, to use Microsoft's own conditional comments which IE browsers only use to direct code to specific versions of IE.)
There are many browser-specific filters. Here are a few resources:
BrowserDetection - how do you serve different style sheets to different browsers?
http://css-discuss.incutio.com/?page=BrowserDetection
CSS-only Filters Summary http://www.dithered.com/css_filters/css_only/index.php
Internet Explorer conditional comments http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp
Regards, Paul
At 08:11 AM 5/20/2005, Paul Seale wrote:
...Does that IE ONLY tag really only work when IE reads the code or is what you are writing a hypothetical example? It would be great if there was something like that (pardon my ignorance, I have simply not read anything that would allow me to show code to specific browsers).
-----Original Message----- #blob { min-height: 100px; } /* IE ONLY */ * html #blob { height: 100px; }
______________________________________________________________________ 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/