Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do I position my table vertically?

Posted on 2011-02-16
5
Medium Priority
?
280 Views
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?
0
Comment
Question by:rmmarsh
[X]
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
5 Comments
 
LVL 4

Accepted Solution

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

http://htmlhelp.com/reference/css/text/vertical-align.html
0
 

Author Comment

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

Assisted Solution

by:ChuckDeezel
ChuckDeezel earned 2000 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:
http://www.w3schools.com/tags/tag_DIV.asp

Here is something on the style attributes:
http://www.pageresource.com/dhtml/csstut2.htm

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

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

Open in new window

0
 
LVL 4

Expert Comment

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

Author Comment

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

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

597 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