The C in CSS

I’ve been tidying up the stylesheets around here. Everything should look exactly the same, just executed more economically.

Mostly I’ve been taking advantage of the cascading part of Cascading Style Sheets.

Up ‘till now, every theme here has had one stylesheet for the front page and another for everything else (simply because the page layout on the front page differs from all the other pages). Now I’ve merged the two stylesheets into one. I added a unique identifier to the <body> tag on the front page and I use selectors to target <div>s specifically on that page, over-riding the settings for other pages.

To avoid any weird caching problems, I also changed the names of the stylesheets.

Like I said, everything should look the same as always. If this site suddenly look awry in your browser, please let me know.

Monday, February 16th, 2004 12:29am

Illustrations

Thanks to the magic of machine tags, you can illustrate this post by tagging a picture on Flickr with:

More information

About this site

Adactio is the online home of , a web developer living and working in Brighton, England.

Customise

If your browser was up to it, you'd be able to
?

This is the plain vanilla look.

Search


Subscribe

RSS is an XML-based format for syndicating website content. I have some feeds that you can subscribe to:

Elsewhere

Adactio Elsewhere has small pieces of me, loosely joined:

You can also find me scattered across these sites:

Bedroll

I had the pleasure of welcoming these people into my home:

Buy my book

Bulletproof Ajax