[thelist] CSS2 Child selectors in IE5/Win

Simon Coggins ppxsjc1 at unix.ccc.nottingham.ac.uk
Tue Apr 10 04:03:35 CDT 2001

> Don't know about the whitespace, but in my tests IE5 does not correctly 
> support body > div and 5.5 doesn't support it at all! See 
> http://www.xs4all.nl/~ppk/css2tests/ for the test and the results.

I think Jeff was right about this. IE5 (but not IE5.5) seems to ignore the
"body > " part but render the "#blue" part, so in the following example:

body > #blue {
  color: blue;
<p id="blue">
This is blue.

The paragraph text would be blue in IE5.0, but for the wrong reason. It
would remain black in IE5.5.



More information about the thelist mailing list