default demo for tabs gets corrupted format with a floated div

default demo for tabs gets corrupted format with a floated div


If you add a floated div to the default demo of tabs, then the tabs get formated wrongly...

Click here to see error:-

Here is the default demo without the floated div added


And this is essentially the html change made to the default demo

<div class="demo">
<div style="float: left";background-color: green">
<pre>
Just some content
to see if this
upsets the
demo...
</pre>
</div>

<div style="margin-left: 150px">