Background won't load in IE8, but loads fine in Firefox
Hi. I have added a background to a site I am working on at: www.mscstudentlife.com/elevate. The background loads fine in FF, but not in IE. The pages just spools. Any ideas? I've tried cleaning out temp files and deleting and re-uploading image. :confused:
Thanks! Kim |
The image loads OK for me in Firefox and IE8 but it is kind of large (over 600k). Maybe if you reduce the resolution that would help. Or better yet find or create a repeatable background image to reduce load time.
|
Kind of crazy because I am using the same background on their sister site www.mscstudentlife.com/accelerate and it loads fine in both browsers?
I'll try reducing the size of the picture though. Thank you for the advice! |
OK, I think I've got it figured out. I compared the css on both sites and the only difference I could see was the order of the code. On the site that was working properly, the background url was listed last (after fonts & color). I moved the code around on the other site and now it is working! Hmmmm.
|
That is a Hmmmmm. I'm going to remember that.
|
the order is important when you use the shorthand for the background rule. A good place to check syntax for aCSS is at www.w3schools.com/css
|
I knew that was the case within the shorthand code but I looked at the code on this site and I think ktaylor is talking about other lines in the Body Style box.
|
All times are GMT -6. The time now is 05:48 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.