I use
To try to make a div position below all preceding/succeeding divs. However, I don't get that.Code:<div style="clear: all"> asdsdad </div>
What do I need to do to make a <div> take up the entire page width and not fit beside another div?
I use
To try to make a div position below all preceding/succeeding divs. However, I don't get that.Code:<div style="clear: all"> asdsdad </div>
What do I need to do to make a <div> take up the entire page width and not fit beside another div?
If you want to clear floats, the proper values for the clear property are:
- left
- right
- both
So, if you only need to clear one or more left floats, use:
one or more right floats:Code:clear: left;
one or more each of right and left floats:Code:clear: right;
Code:clear: both;
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks