Date: Thu, 26 Jul 2007 12:09:31 +1000
From: "Seona Bellamy" <[EMAIL PROTECTED]>
Subject: Re: [css-d] Background image not centring correctly in
    Firefox
To: CSS-D <css-d@lists.css-discuss.org>

>Just out of curiosity, is there a nice easy way of vertically centring a
>div? I seem to recall seeing this discussion once before and the conclusion
>being that there isn't, but someone may have come up with a way since then.
>(Well, I can dream...) :)
>Seona.

Hi, Seona;

I came upon these useful URLs in a previous css-d list:

For horizontal centering:  
http://css-discuss.incutio.com/?page=CenteringBlockElement

For vertical (as well as horizontal) centering: 
http://tutorials.alsacreations.com/centrer/
http://vmalek.murphy.cz/

and for vertically centering elements of unknown height:
http://www.jakpsatweb.cz/css/css-vertical-center-solution.html
http://brunildo.org/test/shrink_center_4.html


Hope that's of some help.

- Michael









      Be smarter than spam. See how smart SpamGuard is at giving junk email the 
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca

______________________________________________________________________
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/

Reply via email to