I
iain010100
Guest
I need to replace a simple HTML table cell with CSS.
<table>
<tr>
<td valign=top>One</td>
<td valign=top>Two</td>
</tr>
</table>
The layout looks like this:
One | Two
The content in each of the two cells needs to align to the top. The cells must expand to the width and height of the content within. The top position of the table needs to be relative to what's above it (not absolute position). I'm not sure how to place cell Two using CSS. Can anyone help?
<table>
<tr>
<td valign=top>One</td>
<td valign=top>Two</td>
</tr>
</table>
The layout looks like this:
One | Two
The content in each of the two cells needs to align to the top. The cells must expand to the width and height of the content within. The top position of the table needs to be relative to what's above it (not absolute position). I'm not sure how to place cell Two using CSS. Can anyone help?