Dangerous css hacks

Default paragraphs in this page have yellow background.

.class/* */ { property: value; } should filter out IE5.0/Win and IE5/Mac
but is read by IE5/Mac as .class *

Where the background is cyan the rule is applied.

.class/**/ { property: value; } filters out IE5.0/Win, OK

Where the background is cyan the rule is applied.

.class p/**/ { property: value; } filters out IE5.0/Win
but is read by IE5/Mac as .class p * *


Where the background is cyan the rule is applied.

text in a span inside .class, inside a nested span, inside another nested span, inside another nested span end span end span end span end p

Another paragraph, just to test...

Another paragraph, just to test...

Another paragraph, just to test...

*>html hack

CSS tests home