HTML prevent line break (between two table tags)

Posted by arik-so on Stack Overflow See other posts from Stack Overflow or by arik-so
Published on 2010-06-03T20:15:08Z Indexed on 2010/06/03 20:24 UTC
Read the original article Hit count: 174

Filed under:
|
|
|
|

Hello,

I have following code:

<table>
    <tr>
        <td>Table 1</td>
    </tr>
</table>

<table>
    <tr>
        <td>Table 2</td>
    </tr>
</table>

Very unfortunately, a line break is inserted between these two tables. I have tried putting them both in a single span and setting the whitespace to nowrap, but at no avail. Please, could you tell me how I can simply put these elements in a single row, without setting the float attribute in CSS and without surrounding each table with a <td> {table} </td> and then putting this in a table row.

Thanks a lot in advance. I have asked Google, but it just wouldn't say anything ^^ StackOverflow remained silent so far, too

© Stack Overflow or respective owner

Related posts about html

Related posts about table