PDA

View Full Version : simple alignment problem


dsnyder
12-05-2007, 07:13 PM
I've got an image and text in three table columns and I can't seem to get them aligned evenly along the top. They seem to be centering themselves in the columns and I can figure out why or how to change that. I've tried adding 'vertical-align:top;' to various places but that seems to do nothing. Can anyone help? I'd like the three images to all be evenly aligned vertically.

http://cellocelli.com/videos.htm

Thanks!

domedia
12-05-2007, 07:45 PM
It's not set to vertical-align: middle (which is default if you don't specify the vertical-align property)
videos.htm (line 32)
table tr td {
padding:0px;
vertical-align:middle;
}
Change it to top:
table tr td {
padding:0px;
vertical-align:top;
}

dsnyder
12-06-2007, 12:19 AM
Thanks, that was it. I had forgotten about that part of the html! I'm sure that it would have taken me weeks of searching. :-D

All is now good.
Thanks again.