This should be red text. If it is green, it passes the "be nice to Opera" test but fails the Owen hack. If it is blue, it fails both hacks. OmniWeb 4.11 shows this text as green. iCab shows it as blue. This is the code:
div.myDiv {
color: blue;
/* be nice to Opera */
html>body div.myDiv {
color: green;
/* c\olor: red; *//* now be mean to Opera 6 */
/* the Owen hack – */
head:first-child+body div.myDiv {
color: red;

Back to CodeBitch Main Page