Menu

Two tables align float right and float left

Help
Tobee
2015-11-10
2015-11-10
  • Tobee

    Tobee - 2015-11-10

    Good day!

    I have two tables and I want to display them side by side. Here's my codes:

    <table border="1" style="display:inline-block;">
            <tr>
                <td>First Name</td>
                <td>Last Name</td>
            </tr>
        </table>
        <table border="1" style="display:inline-block">
            <tr>
                <td>Address</td>
                <td>Mobile #</td>
            </tr>
        </table>
    

    Is that possible?
    Thank you in advance!

     
  • Simon

    Simon - 2015-11-10

    Why not create a parent table to put them in?
    (You wouldn't do that for a webpage, but it works well here).

     

Log in to post a comment.