Anne van Kesteren


Update: You need at least Mozilla 1.4 or Netscape 7.1 to be as excited as I am. I also found this article: Using the :target selector.

The target pseudo-class :target is really, really useful. Today I searched for the Mozilla bug about :target. There is still one. It isn’t applied to the root of the document as seen in this W3C CSS3 selector test.

The bug number is 188734: implement :target (left open for :target on root). It was there that I found I great example for this selector: Document sans titre. If it was completely supported you could do something like the following so the first time you would see "general":

:target #general{

It’s just a thought, but I think it will work. Lets hope they finish this soon!