Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The clearfix classes in default.css don't seem to clear floats properly in IE versions prior to 8, since those versions of IE doesn't recognize the :after pseudo-class.
In order to get my layout to work, I had to add <div class="clear"></div>
to my layout at certain points, and remove the "clearfix". From the referenced article, it looks like it would be necessary to add
.clearfix { zoom: 1; }
to an IE-specific stylesheet.
Please correct me if I am wrong about this - I am not a CSS expert. I could attach my page.tpl.php & a link to the site in question if it helps clarify this issue.
Comments
Comment #1
EvanDonovan CreditAttribution: EvanDonovan commentedI tried adding the zoom property, and I still had issues. Is anyone else encountering this?
Comment #2
lil.destro CreditAttribution: lil.destro commented