Earlier we use “min-height” to fix this, but “min-height” does not work in MSIE and to fix it to work for all browsers, following is the code:
<style type="text/css">
.newElement {float:right; width:1px;}
</style>
<div class="newElement minHeightFixer"></div> <!-- div which handles the height -->
page content goes here
<div class="clear"></div> <!-- clearing div -->
</div>
No comments:
Post a Comment