parent Div & Child Div?


Recommended Posts

Add the following css to your stylesheet


/*CLEAR FIX*
/* For modern browsers */
.clearfix:before,
.clearfix:after {
content:"";
display:table;
}
.clearfix:after {
clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.clearfix {
zoom:1;
}
[/CODE]

Then add the class "clearfix" to your parent div. Can't remember where I found this so can't give credit but its all over the net in various forms

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.