Recently I come up with one interesting layout, which proved quite useful. I needed to simulate good old frames, but using CSS over semantic markup. Basic goals:
totally centered (both ways) on the page, with possibility of custom margin
possibility to add static footer
no limit on scrollable columns/rows
I looked at excellent resources about CSS frames and centered and/or fixed positioning, all available on the net, but none really suited my needs. Either lacking or way too complicated. So, here is mine - centered framed layout.
I tested it and it works in NN7.1, Firefox 0.9, Camino 0.8, WinIE 5.01+, Opera 7.51, Safari 1.2. I tested it and it fails in IE5/Mac (horribly) and Opera 6 (less horrible). Both can be circumvented, but I don’t need that. So, let me indulge myself and explain how it works…