Chrisj Posted November 8, 2009 Share Posted November 8, 2009 How can I create an second table, like tableX and then make them both appear side-by-side? <table class="tableX"> <thead> <tr> <th class="type">Type</th> <th>Number</th> </tr> </thead> <tbody> <tr> <td>x</td> <td>1</td> </tr> <tr> <td>y</td> <td>2</td> </tr> </tbody> </table> Quote Link to comment https://forums.phpfreaks.com/topic/180792-how-can-i-duplicate-this-table-to-make-them-both-appear-side-by-side/ Share on other sites More sharing options...
haku Posted November 10, 2009 Share Posted November 10, 2009 Copy the code, paste it below. Table duplicated. Use this CSS to put them side-by-side: table.tableX { float:left; } Quote Link to comment https://forums.phpfreaks.com/topic/180792-how-can-i-duplicate-this-table-to-make-them-both-appear-side-by-side/#findComment-954595 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.