Fluid 3-column layout
Wednesday, March 15th, 2006
...and now we come to what A List Apart calls "the Holy Grail" of layouts - the fluid 3-column layout. This is my version, brought upon by a request made on a message board for a 3-column layout where the designer could vertically center-align the sidebar content. Amazingly, I got it to work for her - but it didn't work in anything but Firefox and IE6 (that's all she was worried about, so I stopped there). However, I became obsessed with trying to figure out a way to accomplish the 3 column layout in a way that was better than anything I'd found. After reading the A List Apart article, and a few others, I put my mind to it and came up with the below tutorial.
Now, personally, my favorite way to do a multi-column layout is to add in background gif images for the column backgrounds. Why do I like this style? I don't know. I guess I like the option of putting in a cool tiled background, if I really want it, rather than a solid color. Of course, there are drawbacks - the only one I can think of off the top of my head is if someone comes to the site with images turned off - but in a case like that, I believe if you can see the content, then all is well (since most people who have images turned off just want to see the content anyway!)
However, to do it in a 2 column layout is easy. But a 3-column? With the center fluid? How could it be possible?