Reputation: 22380
I am trying to push content in an HTML table to the top of the cell. I am using align to move it horizontally from left, right, and center, however, I am unsure how to align it vertically (top, middle, bottom).
Upvotes: 1
Views: 487
Reputation: 74104
<td valign="top">foo</td>
The valign attribute is supported in all major browsers.
Here a live example.
Upvotes: 0
Reputation: 82913
You can use valign at cell level i.e:
<td valign="top">Cybernate</td>
But I think valign is deprecated now.
Upvotes: 1