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> 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; } 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
Archived
This topic is now archived and is closed to further replies.