Home › Forums › CSS › What is the best way of clearing floats in css? › Re: What is the best way of clearing floats in css?
January 30, 2013 at 1:00 pm
#122857
Member
I have this in my stylesheet:
.group:after {
content: “”;
display: table;
clear: both;
visibility: hidden;
}
Then I just add the class “group” the the element to have it clear (don’t use Compass).
Just my 2 cents.
Magnus