center

This layout is derived from a 3-box example w/o scripts by Al Sparber.

It is extremely simple and straightforward and requires no javascript. There are a couple of CSS hacks to vary the vertical spacing between header and columns and between columns and footer although these can be removed if you do not mind NN4 being "looser".

Its real strength is that the columns can be included in any order which has important implications for accessibility.

Positioning is not very precise, but if that is not the main concern of this layout.

Any footer required needs to placed at the end of the central column. If the central column is not long enough, the footer will be obscured by the left and/or right columns. Nor can the footer stretch accross the whole width of the page but just to the right margin of the central column (though Gecko-derived browsers and Opera allow this through the setting of a negative margin-right on the footer div as shown in this example).

Works in:

OmniWeb does not work properly with this layout since it incorrectly places absolutely positioned relative to the top of the page. This is why I describe this layout as semi-liquid. If you do not care about OmniWeb, you may place whatever you like in the header and the layout will expand to fit. If you must cater for OmniWeb, you must fix the height of the header and the top value of the columns.

left

Valid XHTML 1.0

Valid CSS

Public Domain Dedication

Back to CSS index

right

Any old text

Any old text

Any old text

Any old text