This text will be green if the rule has been applied.
<head>
...
<!-- A comment inside the head element before the stylesheet with that certain selector is needed to make it work -->
<link rel="stylesheet" href="screen.css" type="text/css" media="screen, projection" />
<style type="text/css">
...
</style>
...
<head>
head+body p#test-element {
color: #0C0;
}
In combination with the Owen Hack, you can hide the CSS from Opera 6 as well:
head+body:first-child p#test-element {
color: #0C0;
}
It does not matter where the body+html selector is in, you can use either a link or a style element.
We would be pleased, if you could do some further testing. Please email us your results.
Have fun, Stefan Heimann and Klaus Hartl