Link to home
Start Free TrialLog in
Avatar of steva
steva

asked on

vertical alignment in a table cell

I have a table with a row that has two cells.  The first cell contains a single word and the second contains a textarea box that has some height.  I know the height of the first <td>, with the word, will be the same as the larger height of the second <td>, with the textarea.  But I notice that the single word text in the first td sinks to the bottom of that td, when I would like it to appear at the top of that td.  Is there an easy way to style that?

Thanks
Steve
ASKER CERTIFIED SOLUTION
Avatar of libby9284
libby9284
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of steva
steva

ASKER

Giving the td an attribute of valign="top" didn't do it but giving the td a  CSS style of vertical-align=top did work.

Thanks.