The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 4 of 4

Thread: Vertical Centering

  1. #1

    Vertical Centering

    Hi all,

    Quick question... I have a page:

    I'd like the content to be centered horizontally AND vertically. How do I go about doing it?

    Thanks in advance!

  2. #2
    To get it vertically centered you will have to use 1 table. 1 column and 3 rows. 1st row and last row heigh set to 50%. With the whole table height set to 100% That will make the center row vertically centered

    shane-c....Your site is a lot like a transvestite in that respect.
    fester8542.I'd hit it like the fist of an angry God .
    JoshuaJonah.I design for DDD. Then clients usually like it, and the ladies find me more attractive.
    Cybercode Albert Einstein Said that my math teacher has that on his wall

    K-Emmys-06: Best "Best Mod" K-Emmys-06: Best "Most Creative Critic"

    Member #1 of the "I wont critique Timmytot's designs anymore" club

  3. #3
    OK, I set the existing table in the center row of the table you suggested. But both IE and FireFox still show it at the top of the page. You can take another look at the link to see the source.

  4. #4
    Try this:
    body, html {height: 100%;}
    #outer {height: 100%; overflow: visible;} /* or without overflow */

    <table id="outer" width="100%" border="0">

    Got the code from:
    Though they use <div> instead of <table>. Call me old fashoned, but I changed it to work on a regular table. Check the link for the whole step by step thing.
    -John Mazz

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012