How do I position my table vertically?

Posted on 2011-02-16
Last Modified: 2012-05-11
I am trying to build a table.  It seems to work fine, with the exception of the vertical position... it appears half-way down the page.  

Any ideas why?
Question by:rmmarsh
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Accepted Solution

ChuckDeezel earned 500 total points
ID: 34911158
Use the vertical align tag in a div surrounding your table. See below:

Author Comment

ID: 34911333
Fantastic!  Now, one more question if you don't mind... how do I set the font of the entire table?

Assisted Solution

ChuckDeezel earned 500 total points
ID: 34911407
You can do that in the DIV too. The DIV just says that you are DIViding the code up. So anything for that section will use the rules.

Here is something on DIV:

Here is something on the style attributes:

So, inside of the DIV you can set your style.

<DIV id="ads" style=color:adsfadfad> <table> </table> </div>

Open in new window


Expert Comment

ID: 34911410
Sorry that was a very hastily written snippet of code. It was very sloppy and I appologize.

Author Comment

ID: 34911627
No problem... it's the theory, and I get it!  Thanks so much for your help.   I appreciate it!

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question