altnoise
asked on
how to get a table to align to top of a cell
Hi,
I have a cell that contains a table and I would like to get the table to sit at the top of that cell rather than hover in the middle. Is there any way I can do this?
Many thanks,
James
I have a cell that contains a table and I would like to get the table to sit at the top of that cell rather than hover in the middle. Is there any way I can do this?
Many thanks,
James
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
icepricessa: I wasn't suggesting that people _should_ use the obsolete 1996 technique.
Um, technically, valign isn't "obsolete" -- it's not deprecated in the HTML 4 spec (for TD or TH at least).
Not that I don't agree that CSS is better -- or that not using nested tables in the first place is even better yet! -- just nitpicking. ;^)
Not that I don't agree that CSS is better -- or that not using nested tables in the first place is even better yet! -- just nitpicking. ;^)
"Deprecated" and "obsolete", while applying to a lot of the same parts of HTML, are not synonyms
ASKER
Thanks for your help! I agree though nested tables are a little bit of a quick fix. I'll try and improve my design practices.
Thanks,
James
Thanks,
James
you should do this <td valign="top"> <table> </table> </td>
hope it works :)