Reputation: 96
Here is the issue: As you can see on the left the floated elements do not align, and on the right they do.
https://i.sstatic.net/Qx8Zs.jpg
This doesn't happen all the time, and it isn't browser specific (AFAIK) - it corrects itself upon refresh... I'm thinking it's a problem with the clearfix? CSS below.
.clear:after {
clear: both;
content: ".";
display: block;
font-size:0;
height: 0;
visibility: hidden;
}
.clear {
display: inline-block;
}
* html .clear {
height: 1%;
} /* Hides from IE-mac \*/
.clear {
display: block;
}
Upvotes: 1
Views: 116
Reputation: 21050
I can't replicate the problem but here's some suggestions.
Upvotes: 1