Recently I was building a webpage with tabs and stumbled across a good, simple, example using CSS: Simplified CSS Tabs.

I used this on my page, and all was good. The example above wasn’t a working example though, I had to add the Javascript to actually make it work. I might as well make that available for anyone who’s interested: Simplified CSS Tabs with Javascript. Straightforward JS but still useful.

Tested in IE6+ and FF1.5+. It’s all straightforward CSS and JS so should have no significant issues in other browsers.