Hello, I upgraded to the new version of Zen and start seeing strange things in IE. It shows like layout.css wouldn't exist. I tried with my Subthemes, Zen classic and Zen, and I copied also ie.css to every folder, but is not working... It is very strange because at first worked, but as soon as I entered an admin page it broke.
I have no problems with Konkeror, Opera, Chrome or Firefox... just with IE. I use Drupal 6.4 and I also notice that sometimes all the themes are inactivated when I visit the Themes page in IE.
PS: oh man, how much I hate IE right now...
Comments
Comment #1
johnalbinDo you see the ie.css appearing in the
<head>of your HTML source?Also, IE conditional stylesheets are handled differently/better than in beta2. See #245832: Add IE conditional stylesheets to .info file. So make sure that 1.) if you have a ie conditional stylehseet that it is in your sub-theme's .info file and 2.) that it doesn't override the inclusion of Zen's ie.css or, if it does, includes all the CSS from Zen's ie.css.
Comment #2
daniorama commentedYes, it appears in the , and the ie.css from zen is included in the subtheme. It seems spreading now, because no themes (even Garland) are working on ie. All this started when I installed the zen theme. Maybe it's zen related or maybe it's a contrib module. I'll investigate a bit more. Thanks
Comment #3
sumeet.pareek commentedI had a similar problem with a drupal project i am working on. When i looked at the html being delivered to the browser(IE6,7) using web-development toolbar, I found that starting at a particular @import sheet, the following sheets would not show any content. Meaning that these sheets for some reason do not get parsed/used by IE. To add to the problem -
I know, all would now start thinking this is a problem with some of the module that is being used then... but no.. when i enabled css aggregation.. every page appeared in IE just as it did in rest of the browsers..
So I have got the problem solved (rather got around the problem) by enabling css aggregation. But have still not found what is causing this inconsistency :|
Comment #4
daniorama commentedMAN! THAT WORKED!
Sorry to yell, but I was yesterday trying a lot of things and I was even considering starting over... There are now some tiny problems with the Menus, but I can live with them, at least the layout and colours are now intact. Thank you very much wikidkaka!
PS: I don't mark this as fixed because we really don't know why is this happening.
Comment #5
sumeet.pareek commented@DaniOrama: Well I am glad it worked for you too. But do you have any leads on what might be causing this problem? Did you have (all) the same symptoms that I had?
Since the problem is only with IE, and disappears when CSS aggregation is turned on.. could the problem be with how some comments are written in the zen theme. I mean, could there be some syntax issues in the comment that makes IE go nuts?
But then this issue should reflect in all the pages, which is does not. SO CONFUSED !?!?!?!
Comment #6
daniorama commentedwikidkaka, I was suffering the same on some page and it suddenly spreaded to the whole pages and themes. I was the last days just trying to know why is this happening, and I have no idea. Tried with new installations and it happens always, sooner or later.
I think the problem hast to do with a combination of Drupal 6.4, zen and some modules. I had not these issues with drupal 6.3. Drupal 6.4 also started to show some strange issue with themes, like disabling all of them sometimes with no apparent reason.
I tried with new installations of Drupal 6.4 and Zen 6.b3, and they worked with no problems at first, then I started adding modules and at one point the module installation page and all the admin related pages were not using css, but others did. Later, suddenly it spreaded to all the pages in zen and all the themes (even Garland). I tried also removing all traces of zen, and problem persists. So I don't know if is it Zen, a module or just Drupal who triggers something and causes the problem.
I think the problem could be far more deep than we suspect. But anyway, your solution worked, and many other things do not work in IE (like dhtml or quicktabs) so I'll just use IE Destroyer module or something like that and try to persuades my users to not use IE.
I've tried with portable and non portable browsers, for windows and linux and in many of their versions... Problems happen just with IE 5.5, IE 6, IE 7, IE 8 and IE derivated browsers like Avant. I just hope IE will be wiped from the face of the earth any time soon :D
Comment #7
johnalbinActually, we do know why IE acts that way. It sucks. :-p
See #256802: IE limits Drupal to 31 stylesheets total
Comment #8
daniorama commented:O
Ok, solution and cause found. This is solved. Thanks!
Comment #9
sumeet.pareek commentedhttp://msdn.microsoft.com/en-us/library/ms531194(VS.85).aspx - was a total surprise..!! So glad and relieved that i know the cause now.. but wondering why the limit on 31 ?
Comment #10
johnalbinSo the guess about “Why 31?” is…
IE has a fixed array of length 32 (2^8) for the stylesheets and its using one spot for its internal (browser defaults) stylesheet. Thus, there are 31 spots left.
Why they only allow a fixed number of stylesheets is a mystery.