Previous Message
Next Message

Vertical Centering

Sent by Michael Clayton on 23 March 2006 17:05


> I recall someone posting a very easy method of vertical centering a
> block in a viewport a while back. Seemed straight forward -
> positioning with percentages and a little negative margin nudging.
> Googled but came up empty.
>
> Can anyone point me to this? How cross-browser is it?

Here's another for the record:
http://www.wpdfd.com/editorial/thebox/deadcentre4.html

I tried it in a bunch of browsers a few weeks ago.  It worked in more
than I expected.  As far as I remember, it worked in IE 5+, Opera 8+,
and Firefox.  No NN4 though.  Not sure about Mac browsers.

Kudos.

--
Michael Clayton
www.twilighted.com
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/
Previous Message
Next Message

Message thread:

Possibly related: