Henrik Nyh wrote: > I want a div to have as its minimum height the viewport height sans > margins. The margins could be any unit, though preferably pixels.
> * There should always be black margins above and below the white div. > * If there is little content, the white div should still fill the > viewport height except for those margins. > * If there is a lot of content, the white div should grow to fit the > content, but there should still be black margins between the div and the > very top and the very bottom of the entire page. Ok, there seems to be a "demand" for those '100% high' solutions these days, so I adapted my "regular" to suit your requirements - visually. The following shouldn't be too far off in most browsers... <http://www.gunlaug.no/tos/alien/test_07_1858.html> ...but be warned: it is one big fake. CSS in page head. regards Georg -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/