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

-- 
Bruno Fassino http://www.brunildo.org/test
______________________________________________________________________
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/

Reply via email to