Reputation: 1654
My table is centering its contents right in the vertical-middle of it. I didn't apply any stylesheets to it, but: border="0" cellspacing="0" cellpadding="0"
.
At this moment it's like this:
Though I want it like this:
The X's do not represent simple text! In my case they're other tables inside one single table: The black box is a table. The blue and green boxes are table cells and the red Xes are also tables. One table in the blue - and one table in the green cell.
Do you have any advice for me?
Upvotes: 0
Views: 106
Reputation: 449415
Table cells are vertically centered by default. Give each cell
vertical-align: top;
to fix it.
Upvotes: 3