Hi,
On page I have a fixed background image that is supposed to remain stationary as the page is scrolled. This works on Firefox but it doesn't seem to on IE.
Does anyone know why?
Thanks,
John
Hi,
On page I have a fixed background image that is supposed to remain stationary as the page is scrolled. This works on Firefox but it doesn't seem to on IE.
Does anyone know why?
Thanks,
John
Short answer: the browser differences usually come from two things — IE quirks (doctype/body/html handling) or IE6 limitations that require a different approach. already hit the practical workaround (Dean Edwards' IE7 script). was right to call out the missing body tag — invalid markup or a quirks-mode DOCTYPE often makes IE behave differently than Firefox.
Checklist to diagnose quickly:
Practical fallbacks and fixes:
References:
Jump to Post— peter_budo 2,532Nevermind, found the Dean Edward's IE7 hack.
JohnNice site add to favorites, will come back.
There is CSS way to do itstyle="background-image: url; background-attachment: fixed"one more thing you are missing opening of body in this page not big deal
Nevermind, found the Dean Edward's IE7 hack.
John
Nevermind, found the Dean Edward's IE7 hack.
John
Nice site add to favorites, will come back.
There is CSS way to do it
style="background-image: url; background-attachment: fixed" one more thing you are missing opening of body in this page not big deal
Well, that is what I have in the Stylesheet. It works on Firefox but not on IE without the script.
John
Should work, I never had problem with it. In my case it did work under IE and also NN.
Try to see if you dont have any mistakes or misspeling somwhere in your CSS
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.