...

View Full Version : Vertical centering a table, the old style



cocoalex
02-02-2012, 11:18 AM
Hi,

I'm working on a small website and I have a problem trying to put a my content always vertical centered.

www.alexacatalin.com/temp

I haven't done this for some time now and I'm not used with the new coding that involves only divs. So I'll stick to the old html style and tables and so on.

I've tried to put my content vertically and horizontally centered, but I can't do it anymore or the browsers don't like it anymore.

Can somebody help me with some tips?

Thanks!

Excavator
02-02-2012, 05:19 PM
Hello cocoalex,
Vertical center is easy if you know the height of the element you are centering. Your site is a set 633px height so it should be no problem. See some examples here (http://nopeople.com/CSS%20tips/vertical%20center%20with%20CSS/index.html).

cocoalex
02-02-2012, 05:29 PM
Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum