Make the height of your body div match the inner contents

Little bit of CSS stuff here, but I always forget how to do this when all the sudden my main “wrapper” div shrinks to fit a few of the divs that are 100%, and the quick launch bar extends way below the bottom of it. Simple solution, add this bit of code before the ending </div> in your code:
<br class=”clear”/>
Then in your CSS, don’t forget to add this:
.clear { clear:both; }

About bentedder

Ben Tedder is a front-end web developer. He loves WordPress, SharePoint, and Drupal, along with jQuery, CSS, and good 'ol HTML. +Ben Tedder on Google or follow @bentedder

Join the discussion!