child selectors

Paragraphs in this page have yellow background.

This is a paragraph with the following rule:
body>selector { background-color: aqua; }
If it has aqua background then the rule is applied (correct.)
Aqua in: Op, Moz, Saf, IE/Mac, IE7.
Yellow in: IE6-/Win.

This is a paragraph, wrapped in a div, with the following rule:
body>selector { background-color: aqua; }
If it has aqua background then the rule is applied (NOT correct.)
Yellow in: Op, Moz, Saf, IE/Mac, IE/Win.

This is a paragraph with the following rule:
body > selector { background-color: aqua; }
If it has aqua background then the rule is applied (correct.)
Aqua in: Op, Moz, Saf, IE/Mac, IE5.0/Win, IE7.
Yellow in: IE6, IE5.5 /Win.

This is a paragraph, wrapped in a div, with the following rule:
body > selector { background-color: aqua; }
If it has aqua background then the rule is applied (NOT correct.)
Yellow in: Op, Moz, Saf, IE/Mac, IE5.5+/Win.
Aqua in: IE5.0/Win.

CSS tests home