Reputation: 13
We are a bit desperate... We have launched our website http://www.buscounviaje.com
We tested all browsers (IE6-8, Firefox, Safari, Chrome, ...) to make sure everything was OK. However, there are some users (IE7 and IE6) that are complaining that they see everything 'white' with black letters (i.e. CSS styles not being applied). One user said he was getting an "Error 0: Object expected"
However, we do not see that error in Firebug, nor on our local installations of IE6&7. Other users with IE6&7 are also visualizing the web correctly. We have no idea where the problem could be, and we cannot test it because our IE6&7 work fine.
Anyone sees the web page without styles and give us a hint on where the problem might be?
Reasons we can think of...
Upvotes: 0
Views: 962
Reputation: 136
One of the points in my list of thoughts below (which I wrote first) likely illuminates the script error.
As for the failure to apply the stylesheet, I'm definitely on board with the idea that it's down to the compression. XP prior to SP2 has a way of choking on compressed CSS and JavaScript; strong Google-Fu led me to a properly documented solution for the CSS/JS compression problem in Apache.
Recommended steps: remove the charset
declaration from your stylesheets, and apply the linked solution in your httpd.conf
file.
A few more thoughts:
@charset
declarations tend to be' buggy as all get out. I could go into more detail about the whys and wherefores of document encoding, but this isn't the time or the place. Bottom line: there are other, more reliable ways to get high-bit characters into your stylesheets and pages. Use them.gzip
encoding of pretty much everything that isn't an image, on-the-fly and out of the box, and any browser you're actually going to support will know what to do with the results. Why are you relying on an entirely separate feature, and have you properly configured the server on account of the odd implementation?<!-- [if IE8]>
in your link
tags.Upvotes: 2
Reputation: 28160
Object expected usually means that you are trying to use an undefined variable. (Something not implemented in IE? Or a race condition?) That would stop JS execution, but it wouldn't mess up the styles in itself.
Upvotes: 0