Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Vertical centering a table, the old style

    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!

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,695
    Thanks
    22
    Thanked 1,832 Times in 1,816 Posts
    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.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •