Monthly Archives: July 2011

Solving IE7 hasLayout bug on Drupal 6 zen subtheme

To avoid content on second column jump over the left sidebar on links hover zoom:1 needs to be added to the #main division. I find that adding display:inline-block to the second sidebar has also helped on occasions.The exact problem and its solution is best described at: http://stackoverflow.com/questions/1144528/drupal-zen-subtheme-specify-stylesheets-for-non-internet-explorer-browsers

More on the hasLayout bug can be read at: http://www.bennadel.com/blog/1354-The-Power-Of-ZOOM-Fixing-CSS-Issues-In-Internet-Explorer.htm

Advertisements