As I’m currently with a fair amount of time without a whole lot of neccessary things to do, I’ve decided to explore one of the ideas I’ve had bouncing around in my head for a while. I’m redesigning the site (I know, I never got around to finishing the last redesign — but I found some tricks midway through) to comply with current Cascading Style Sheet standards. While I’d been using CSS for a while now to standardize and simplify the formatting across the site, this is my first foray into using CSS for the actual site layout.
Previously, I’d been using a table-based system to lay out the page. It works — and in some ways could be considered a de-facto standard across the web at the moment — but it’s kludgy, makes the code difficult to read, and is a royal pain when facing a site update. By switching to CSS-based layout (the basic framework was found at Glish), my code is much leaner, and once done, I’ll be able to make large, sweeping changes to the site when I decide to redesign in the future by editing a single .css file, instead of having to recode every page on the site. Much, much nicer.
There is one downside to this — certain browsers (either older browsers [Netscape 4.x or previous, or IE 4.x or previous] or browsers still in development [such as OmniWeb for Mac OS X] will not display my page correctly. If you’re using an older browser, visit the Web Standards Organization upgrade project to see what browsers are available to you. If you’re using a current browser that is not standards-compliant, write the company to request compatibility with the currently published standards.
Of course, what this means at the moment is that if you start bouncing through my site, there are currently three different ‘themes’ to the pages — the older blue/green layout, the grid-background I was recently working with, and this CSS-based layout. I’m hoping to get the entire site converted over to this new style fairly quickly, however — this main page was just the matter of a couple hours work, and now that I’ve got the tweaking finalized, the rest of the pages should fly by fairly quickly.
So that’s it for now — a bit of work in front of the ‘puter to give my skin a rest from the constant flirtation with sunburn that I’ve been playing with for the past couple weeks. Ta ta for now….