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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aligning Table Vertically on Page

Status
Not open for further replies.

mspeppa19

IS-IT--Management
Sep 26, 2002
92
US
Hi i've created a webpage and I wanted the content to align everything vertically and horizontally. Right now i've aligned the table so that it is in the center top of the page, but now I want it to go down vertically. How do you align it so that it is in the middle of the page


| |
| |
| STUFF HERE |
| |
| |

right now i have it like this

| STUFF HERE |
| |
| |
| |
| |


thanks!
 
set the table height to 100% and make its cell's valign to middle???

Known is handfull, Unknown is worldfull
 
<table width="143" height="136" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle">stuff here</td>
</tr>
</table>

:--------------------------------------------------------------------------:
fugitive.gif

ok,ok...I did shoot the deputy but he told me he was the sheriff!
:--------------------------------------------------------------------------:
 
I've been embedding a table within another. make the outer table width=100% and align the embedded table to the outer

ronze
 
make the outer table height to 100%

Known is handfull, Unknown is worldfull
 
height to 100%
...this is joke, right kris?

:--------------------------------------------------------------------------:
fugitive.gif

ok,ok...I did shoot the deputy but he told me he was the sheriff!
:--------------------------------------------------------------------------:
 
nope,
i meant:
<table height="100%">.

works good in IE...

Known is handfull, Unknown is worldfull
 
hmm I would stay away from it though....many "older designers" have hit me with 'w3c stuff' as soon as I tried to introduce it as option...I guess it is not a "true tag value"...very tricky waters
anyhow, just wanted to see your opinion on it....thanx!
All the best!

:--------------------------------------------------------------------------:
fugitive.gif

ok,ok...I did shoot the deputy but he told me he was the sheriff!
:--------------------------------------------------------------------------:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top