Posts Tagged ‘CSS’

Content Wrapper to avoid wrong clearing

Tuesday, March 10th, 2009

to avoid long empty spaces when clearing a float environment, wrap the content into a div with the following properties:

.wrapper {
position:relative;
overflow: hidden;
}