I am working on a 3-column layout with two fixed-width sidebars (left and right) and a fluid center. I have followed A List Apart's Holy Grail article, and, although this works fine in most browsers, I am having some problems in Internet Explorer 7+.
The problem with IE 7+ actually doesn't stem from this technique, but rather from the fact that the page is rendering in quirks mode. If I make it render in standards-compliance mode, however, many outdated elements become displaced and would require a complete re-writing.
Given that this article dates a few years, is this the most up-to-date reference on the subject? Or should I be applying a different technique?
Any insight on the best way to do this will be greatly appreciated.
The absolute positioning works for a full width page but what about when you have a fixed width that is centered. Came up with a solution based on flex-box that works in IE8+. The flexie polyfill is used for older browsers
See http://jsfiddle.net/lorantd/9GFwT/10/
I believe this should be useful in most cases.
Please see link below.
http://jsfiddle.net/ykAPM/278/
There's really no point in floating the columns.
HTML:
CSS:
Demo: http://jsfiddle.net/AlienWebguy/ykAPM/