New site design (partially) implemented

My guilt over slighting those regrettably still stuck using Internet Explorer 6 finally got the best of me, and I decided to do a new site design that doesn’t completely break down in that (outdated) browser.

Well, that’s not really the reason I did it. I wanted to take a new approach that allows for more customization of the presentation in different sections of the site. But I made it IE6-friendly while I was at it. The new design is based on another color scheme called “Salamander” that I found at Kuler. (Sorry, I’d link right to the specific color palette but, guess what, it’s Flash. Boo.)

It’s not finished yet, but I wanted to put the necessary pressure on myself to keep working on it until it’s completely done. So now that it’s far enough along to be presentable to the public, I’m rolling it out.

Most of the cool site-specific graphical headers are still missing, so it’s falling back to a generic presentation with a nice garish green band at the top. Certain other fine details are also still missing in the CSS, but I’m getting there.

Eventually there will be more dramatic changes to the page structure: the home page will be more of a “portal” than just a dump of the most recent blog posts; different sections of the site will have different content in the sidebar, etc. But this is a start.

The Case of the Missing Nav Bar

I will admit, sometimes the problems I encounter in Internet Explorer are simply due to slight differences in browsers’ implementation of HTML or CSS or whatever, and I’m just not properly accounting for the way IE does certain things. Other times, it’s true, they’re due to a flat-out bug in my code that Safari and/or Firefox (usually “and”) will just graciously accept, whereas IE will not. (The cases where IE catches errors that Safari and Firefox permit, however, are rare compared to the vast, cluttered landscape of bad code that IE welcomes with open arms but that Safari and Firefox rightly reject.)

And then there are the cases such as the one I encountered today. There’s no way around it. I can’t find a nicer way to put it, IE is just plain fucked up.

Yesterday I was going along innocently enough, demonstrating to a coworker the site I had been working on for him. As usual I had worked with Safari and Firefox as my test browsers, firing up IE through a remote connection to my PC as needed to make sure things weren’t completely off track. (In a perfect world, I would never have to do this, of course. But, well…) And then, wham! Of course this kind of problem only rears its head when you’re showing your work to someone who has the authority to reject it. I was convinced it was a fluke on his computer, but sure enough when I went back to my desk, I observed the same thing happening in IE on my own PC. Time to hit the brakes once again and go into IE debugging mode.

I tested all of the obvious things. No luck. So I dug a little deeper and started testing the more obscure, but at least logical things. Still nothing. And like so many times before, I was reduced to just randomly trying anything to see if I could get a different result, no matter how seemingly absurd.

Fortunately it only took about an hour to track down the problem this time. But as usual there was no satisfying resolution, no “Aha!” moment as I suddenly recognized a stupid mistake I had made. Oh no. The problem was that the CSS definition for the <div> tag containing the entire body of the page specified a background color. Of course! (No, not of course, as this should not have any impact whatsoever!)

*SIGH* Seeing as how that background color specification wasn’t technically necessary, I removed it. Problem solved. Frustration with Microsoft, higher than ever.

A nifty little tool…

For web geeks like me whose design ambitions occasionally outpace our abilities, it’s always fun to come across tools like this:

Color Palette Generator

Just give it the URL of any image anywhere on the web (such as, for example on your own site) and it generates color palettes for you to use in your design, based on the colors in the image.

Look for yet another new Room 34 site redesign in the near (or not-so-near) future using this tool!