Blog entries tagged html
The best way to clear floats
Thursday, November 06, 2008
When working with HTML and CSS, I always want to find the best technique for solving a certain problem and use it every time. This philosophy can be very frustrating when the solution to certain problems is rather ambiguous, or certain problems can be solved in multiple ways, each with their own drawbacks. Using CSS to clear floats is a great example of a problem with many solutions, none of which is absolutely ideal.