Well... It's vertically aligned for me?! (In Opera.)
Re: How to center a div in the middle of the screen
« Reply #15, on April 3rd, 2012, 02:15 PM »
<sigh>...
Really dunno what to say. Works for me in 11.62... :-/
Okay, is your site height fixed, and is it going to remain fixed (in pixels)?
If yes, it's best to implement centering via a negative margin.
Hey. Was looking at your code, and... Where's the table-cell definition on #page? Where's the vertical-align?
Yay!! Now it finally works!!!!! :cool: :cool: :cool:Quote from Nao on April 3rd, 2012, 02:57 PM Hey. Was looking at your code, and... Where's the table-cell definition on #page? Where's the vertical-align?
Really latest question: now that everything works, the only thing that remains is the horizontal align :P
I tried with a text-align:center on #page but nothing.. I can't use a position:absolute;left:50% + negative margins because the vertical align wouldn't work anymore...
That'll be $200! Check or credit card?