HTML align table rows on top

Posted by arik-so on Stack Overflow See other posts from Stack Overflow or by arik-so
Published on 2010-04-17T18:35:25Z Indexed on 2010/04/17 18:43 UTC
Read the original article Hit count: 305

Filed under:
|
|
|
|

Hello,

I have an HTML table. It looks as follows:

<table>
    <tr>
        <td>Content one</td>
        <td rowspan="2"> Very long content right</td>
    </tr>
    <tr>
        <td>Content two</td>
    </tr>
</table>

As you see, I have some very long content on the right side of the table, actually, it is so long that it does not fit into what height is given by the table rows, and so the table gets higher, and by doing that, the contents one and two are no longer at the top of the table, but distribute themselves along the whole height. How can I stop them from doing this?

© Stack Overflow or respective owner

Related posts about html

Related posts about align