Hi,

First, I have to say thanks for the great starter theme. I've tried a few others, and Basic is definitely the best, in my opinion.

But on to my weird problem: I've created a custom theme based on Basic, and it appears to work well in all browsers, except when I enable "Optimize CSS files". Then, in both IE7 and IE6, the footer floats half-way up the page.

I don't think it's Basic or any module causing the problem, because when I switch back to using the default Basic theme, it all works perfectly, even when the CSS has been optimized.

So I'm pretty sure it's something I've done. But it's strange because my theme appears to work perfectly in IE7 if I disable "Optimize CSS files". None of the other Performance options causes a problem.

I'm baffled because I made very few changes to your default ie7.css file. I installed the IE Unlimited CSS Loader module, just in case, but I don't have that many modules installed and, as I expected, it didn't help.

It's not a big deal, because it's unlikely to be high traffic site, but I'd really like to solve it.

Have you encountered or heard of such a problem? Any ideas about what might causing it?

Comments

Anonymous’s picture

Assigned: Unassigned »
Status: Active » Needs work

I actually already encountered a similar problem... but inverted. We were developping a site, and IE6-7 stylesheets were only loaded when css was optimized... kinda annoying to debug :Z

Something you could check, add your IE css to the style.css (using hacks like * html or *+html), cancel the IE calls in the page.tpl.php, and see if the bug is still hapening. If no, it means your css is correct. If yes, it means the optimization somehow alter your CSS.

Also you could try to include the css files in a different way, maybe using @import instead of link.

Maybe check if you are using a double class selector (like .class1.class2) in your css, because IE doesn't like that very much...

I'll post again if I have other ideas. Good luck !

SteveK’s picture

Are you using Page Caching? There is currently a problem with the body browser selectors when using page caching. This shouldn't effect loading in stylesheets conditionally through the page.tpl.php though.

glennr’s picture

Thanks for the quick response, guys. I'll try your suggestions (probably next weekend) and let you know how I go.

Anonymous’s picture

Status: Needs work » Closed (fixed)

Closing, after a very long week end :)