Click to See Complete Forum and Search --> : How do you make tables to begin at top?
johnnyG
05-30-2003, 08:55 AM
I have three tables next to eachother in a table. But one of the tables are longer than the other ones. That results in that the two shorter tables got center verticaly.
How do I make all the tables to begin at the top?
AdamGundry
05-30-2003, 08:58 AM
You need to set the vertical alignment of the containing cell, like this:
style="vertical-align: top"
Why are you using nested tables? There is almost always a better way.
Adam
johnnyG
05-30-2003, 09:05 AM
I can't get vertical-align: top to work.
DaveSW
05-30-2003, 09:14 AM
isn't there an option for tables to valign? like
<td valign="top">
Failing that, did you use adams solution like
<td style="vertical-align: top;"> ? Make sure it's on the table cell that contains these tables.
dave
johnnyG
05-30-2003, 09:16 AM
my misstake, I put it in wrong td. It works now.
Thanks for your help!