I have HTML with 2 horizontally aligned <tables>
with a <h1>
underneath. The <h1>
element isn't rendering correctly though; it's appearing to the right of the tables instead of under them. How can I get it to appear under the tables?
This is the JSFiddle: http://jsfiddle.net/w3LWC/1/
and the HTML for reference:
<div class="horizontal-div-container">
<div>
<table>
<tbody>
<tr>
<th >Panel ID:</th><th>100721651</th>
</tr>
<tr>
<th >RFI Points:</th><th>0</th>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<th >Panel ID:</th><th>100721651</th>
</tr>
<tr>
<th >RFI Points:</th><th>0</th>
</tr>
</tbody>
</table>
</div>
</div>
<h1>PANEL CONFIGURATION</h1>
.horizontal-div-container div {
clear: none;
float: left;
padding: 5px;
}