IE7 styles comments!

April 30th, 2006

I’ve seen a lot of IE bugs and even more fixes for them, but what I read this morning on the CSS-d list in a post by Ingo Chao, went beyond my imagination.

Using sibling selectors (“h1+h2” should style an h2 that comes right after an h1), Ingo proved that IE7beta (not the preview anymore btw) erroneously styles comments. They even react on hover!

Here’s a link to Ingo’s post, with example links included:

As we say in Dutch: “Het moet niet gekker worden!”

Comments are closed.