Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

aligning tables

Status
Not open for further replies.

carwee

Vendor
Jul 11, 2003
8
0
0
US
Is there any way using css that I can get one big table to align verticaly AND horizontaly on the page, so that when the window is resized it will move to the middle?

Thanks in advance.
 
try:

align-vertical: 50%

or, if that's not it:

vertical-align: 50%

in a style-sheet... one or the other should do the trick.
 
Is this right?

<style>
table {vertical-align: 50%;
</style>

It is'nt working yet. What am I doing wrong?
 
Mmmm! how about a closing brace for the style definition

<style>
table {vertical-align: 50%;}
</style>







Chris.

Indifference will be the downfall of mankind, but who cares?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top