Tested in

Win XP SP1

Mac OS9


CSS vertical centering using float and clear - crossbrowser (?)

This box stays in the middle of the browser's viewport.
The content does not disappear when the viewport gets smaller than the box.

It even works in IE5 Mac - the doctype triggers this browser to quirks-mode and the IEMac-only stylesheet kills the height for html, body.

fricca[at]uk2.net | 07.08.05