Results 1 to 4 of 4

Thread: Vertical Centering

  1. #1

    Vertical Centering

    Hi all,

    Quick question... I have a page: http://www.wirelessinteractive.com/nolimits/

    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:
    <html><head>
    <style>
    body, html {height: 100%;}
    #outer {height: 100%; overflow: visible;} /* or without overflow */
    </style>
    </head><body>

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

    </body></html>
    Got the code from: http://www.jakpsatweb.cz/css/css-ver...-solution.html
    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 kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012