Using a clear: both; however isn't always needed and adds an extra useless element to the dom. If you have a 2 column layout for instance contained by a div, you can use the following code to the container:
#container {
width: 100%;
overflow: hidden;
}
It might seem like a small tip but it sure does make your code cleaner!

Sign In
Register
Help



MultiQuote
