• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Centering Vertically On-Screen

2

~2C~

Guest
#1
Hi,

I'm trying to figure out using some coding how to center a table vertically on a html page after figuring out the resolution.

Any ideas?
 

SPeedY_B

I may actually be insane.
#2
Something like this should work.
Code:
<table style="height:100%;">
<tr><td style="vertical-align:middle;">

[i]// Your stuff here //[/i]

</td></tr>
</table>
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,018
Latest member
dixoncarry