At 7:16 PM +0200 9/16/08, Bruno Fassino wrote: >On Tue, Sep 16, 2008 at 6:21 PM, Gunlaug Sørtun wrote: >> Bill Brown wrote: >> >>> http://www.webdevelopedia.com/vertical_centering_unknown_height.html >> >> I'll only mention the usual weakness with vertically centering an >> element by offsetting it - as you do in IE7 and older, as tall elements >> on short windows will end up partly above the screen and out of reach. >> >> This overflow is normally not a problem since the element is most often >> shorter than the window. It is however enough of a problem in some >> cases, to warrant the existence of a different solution... >> >> <http://www.gunlaug.no/contents/wd_additions_20.html> > > >I would also add this other solution [1] to the mix :-) which also >avoids the problem mentioned by Georg (at the cost of some extra >unsemantic elements). > >Bruno > >[1] http://www.brunildo.org/test/shrink_center_4.html >
While people are providing solutions for page centering (not sentence centering), here's mine: http://webbytedd.com/b2/vertical-center-tedd/ Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/