IE doesn't support ':target'.

I recently discovered a great way of doing what I do on my Switching content page without javascript. It uses ':target' and of course doesn't work in IE.

Here's an example:

These paragraphs are all set to 'display:none' in the css, and the ':target' style says 'display:block'.

Here's the CSS : CSS
#t-text p{
display:none;
}
#t-text :target {
display:block;
}

It doesn't get much simpler than that does it?

The only problem with this - apart from the fact that it doesn't work in the most widely-used browser - is that it kind of needs to be near the top of a page to get the desired effect.

I've removed the comments from this page to keep the page small.