It’s hard to say, IE does weird things.
What happens when you only include one of the style-blue.css, style-green.css, or style-orange.css files? I wonder if IE got lost in there.
Thread Starter
mark2
(@mark2)
Yea, I removed references to 2 of the css files and still the same.
I’ve been doing some research on the problem, and one possible fix is because I’m using @import instead of href to reference the style sheet?
Thread Starter
mark2
(@mark2)
I’ve now also tried replacing the @import with href for reference to the CSS. It’s now:
<link rel=”stylesheet” href=”/wp-content/themes/perfect/style.css” type=”text/css” media=”all” />
and STILL it’s not working on only the homepage in IE… What doesn’t make sense to me is that it’s still reading the CSS file b/c the page is properly formatted… it’s like it’s using only some of the CSS file…?
Possible. There are certain types of errors that make different CSS parsers bail at different points in parsing a file. I don’t know that that’s the problem here, but I wouldn’t rule it out altogether.
Using Firebug Lite (http://getfirebug.com/firebuglite) it appears that IE8 thinks it’s in an H2 tag. Hmmm …
(Moments later the lights suddenly dim and then a blindingly bright spotlight shines on the culprit!)
Aha! Found it! Look for the following:
<h2><a href="/resources/what-is-power-factor-correction">What Is Power Factor Correction?</a</h2>
The a tag didn’t get closed correctly and IE ate the H2 tag long with it. FF did you a “favor” by closing it. Personally, I would prefer it didn’t do stuff like that because it causes situations like this one.
Remember, Kids, Firebug is your friend!
Thread Starter
mark2
(@mark2)
oh wow.. ha, thanks. that makes so much sense! I figured it was an error coming up before the menu, as every item after the slider was affected… can’t believe I didn’t have the foresight to take a look!
I just spent the last couple of hours implementing a hack fix; adding text properties to each of the effected div’s in the css, which turned out working…. but this solution is much better!
thanks alot for the help, really appreciated!
I’m having this same issue with only the Index page not working but I don’t see any errors in the code.
http://ilovehatemycity.com/home/
In firefox it works perfectly but in IE it looks like the style.css file isn’t loading properly.