,only,works,sometimes" /> <td valign="top"> only works sometimes - Problems and solutions to issues related to Software : Business, Database, Firewalls, Office, Graphics, Security, System, Server.

Question : <td valign="top"> only works sometimes

i want the td text to align to the top of the td cell

Answer : <td valign="top"> only works sometimes

Your attribute should work - probably best handled with CSS though:

<td style="vertical-align:top;padding-top:0;">

you may well be experiencing padding or margins on items within the td, for example <h3> may have a padding-top or margin-top set that will push it from the top of your td so although the td style is working the contents are still subject to their own styles.

as a quick test you could use this in your head to clear all padding-top and margin-top from contents in your tds:

<style>
td *
{
 padding-top:0;
 margin-top:0;
}
</style>
Random Solutions  
 
programming4us programming4us