Internet of things - Wikipedia To show two tables side by side, you can add the below CSS: table.table1, table.table2 { width:49.8%; display: inline-table; }. Where border-spacing property is used to set the distance between the borders to its adjacent cells and border-collapse property is . If you do this in HTML, the browser will condense the spaces you add down to just one: See the Pen Whitespace Collapse Example by Christina Perricone (@hubspot) on CodePen. How do I give a space between two buttons in bootstrap? 12:22 pm on Aug 26, 2009 (gmt 0) Or do it without classes or IDs: table + table {. How to define one or more header cells a cell is related to in HTML ? You can use margin and calc function in css : Using