David Laakso wrote: >> I built this site, http://www.isadoratang.com/index.php, but I've >> been trying to determine if I can center the <div id="page"> >> vertically in the viewport.
> Yes, I think it is possible with CSS (I seem to recall a method Georg > Sortun created but can't find it at the moment) or possibly with > scripting. Although I am not so sure what vertical centering will buy > you with a fixed height wrapper enclosing movable type. Try your > page at minimum font-size 24px in FF for example... Demo with no declared height: <http://www.gunlaug.no/tos/moa_15a.html> Article on how: <http://www.gunlaug.no/contents/wd_additions_20.html> ...with more demos linked in. (I'll have to update that article, as IE8 does of course line up perfectly with the other CSS2.1 capable browsers.) regards Georg -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/