I've been putting a new site together using the Meta Theme. One thing I noticed was that the collapsible/dropdown fields showed the arrow3.gif and arrow3d.gif just fine in Firefox but never appeared in IE6. The collapsible menus in blocks work fine but not the fields in the main page area. I dug into the css a bit and found the trouble area in the pagestyles.css file:
#contentarea-middle2 fieldset.collapsible { border: 1px solid #999; }
#contentarea-middle2 fieldset.collapsible legend a {
padding-left: 15px;
background: url('images/arrow3d.gif') 0 50% no-repeat;
}
#contentarea-middle2 fieldset.collapsed { border: 1px dashed #999; }
#contentarea-middle2 fieldset.collapsed legend a {
padding-left: 15px;
background-image: url('images/arrow3.gif');
}
I found that if I insert html.js as shown below, the images will show up in IE6 and still work with Firefox.
#contentarea-middle2 fieldset.collapsible { border: 1px solid #999; }
html.js #contentarea-middle2 fieldset.collapsible legend a {
padding-left: 15px;
background: url('arrow3d.gif') no-repeat 0px 50%;
}
#contentarea-middle2 fieldset.collapsed { border: 1px dashed #999; }
html.js #contentarea-middle2 fieldset.collapsed legend a {
background-image:url('arrow3.gif');
}
Should this change be made to the css going forward or will it break something else?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | screenshots_0.zip | 77.98 KB | eagleeye |
Comments
Comment #1
Ken Collins commentedWell the better place for this would be the hacks-ie6-win.css file. It does already have some over rides for the collapsible fieldsets. I wish I could see this bug on my end. For instance, all collapsible fieldsets in my main content area work as advertised. This includes admin settings and input types for comments.
Perhaps it has to do with what version of Drupal you are using and/or modifications you have made? Please let me know
Comment #2
eagleeye commentedKen,
Just to be sure, I just did a fresh install of drupal 4.7.4 and I installed the current cvs version of the meta theme. I did not make any modifications to any code or css files in this new install. I tried viewing the site using IE6 and still cannot see the images. I've included a screenshot with the images missing. When I put in the fix that I suggested, then the images will show up (see included screenshot). I'm not sure if it will tell you anything or not but I've included a screenshot of the IE6 version.