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.
Hi,
I have a patch for ie6, here it is, insert the following lines on line 10 of index.tpl.php just below php print $scripts:
<!--[if lt IE 7]>
<style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/fix-ie.css";</style>
<![endif]-->
and then create the file fix-ie.css with the css shown here:
#left {
width: 200px;
margin-left: -1260px;
padding: 0px 10px;
right: 230px;
}
Comment | File | Size | Author |
---|---|---|---|
#3 | abessive.zip | 18.22 KB | idflorin |
Comments
Comment #1
nicholasThompsonI'd like to test this... I'm a little concerned about the -1260px offset. It looks a little like its hard coded for a fixed width.
Thanks for the patch though, I'll happily commit this in if it works!
Comment #2
nicholasThompsonI've implemented this tweak on my development site however the left menu still behaves abnormally in IE6. Here is my theme's file listing...
I added the following to fix-ie.css
and the top of page.tpl.php now looks like this:
Any idea's?
Comment #3
idflorin CreditAttribution: idflorin commentedI'm thinking to another approach, inspired by foliage theme
Comment #4
nicholasThompsonI see - the approach of wrapping everything in excess markup...
Thanks for the resource - I'll resort to that if I cant find a fix, but I really dont want to pollute the markup TOO much (I know I've got lots of divs for the rounded corners though ;-) hehe)