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!

Tables misaligned

Status
Not open for further replies.

dagoat10

Programmer
Jun 3, 2010
74
US
Greetings all,
My tables are all misaligned, but i can figure out why, and it tried to use an align tag in the table but that has not worked any ideas?


if you need the piece of code that is running this i can post it.
 
The vertical-align property applies to the contents of a cell. So you need to set it to the cell itself.

Give each of your <td> that have a table the vertical-align property set to top.

Or just make it so all <td>'s have it set.

Code:
td{
vertical-align:top;
}



As a better solution, I'd drop the surrounding table, and simply float the inner tables.

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top