I am trying to float two elements side by side but the preceding div elements seem to come in between the two as per the fiddle. i.e I want Find the best vendor on the left, login/register in the same line on the right and all other content below it.
HTML:
<div id="home-dir-left">
<div class="custom-widget-head">
<h3><span class="custom-section-head"> Find the Best Vendor</span></h3>
<a href="/login/" class="btn tools-login">Login / Register</a>
</div>
<div class="homecat-columns">
<div class="span2 directory-categories">
<div class="custom-widget-head">
<h4><span class="dircat-head"> Fashion</span></h4>
</div>
<span class="span-dircat">
<ul>
<li><a href="/listings/category/bridal-accessories/">Bridal Accessories</a></li>
</ul>
</span>
</div>
</div>
</div>