Jump to content

Centering table


-BigBadWolf-
 Share

Recommended Posts

nopeprobably best in this sitution to use nested tables. 1 table with 100% width & height and valign="middle" applied to the row & then the other table inside thatjust tested this and it works:

<html><head><style type="text/css">table	{border: 1px dashed #ccc;}#container {width:100%;height:100%;}</style></head><body><table id="container"><tr valign="middle"><td><table><tr><td>test</td></tr></table></td></tr></table></body></html>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...