add it like this, and firefox will ignore it:
_background-attachment: fixed;
Main Topics
Browse All TopicsHello,
I need to fix a background image in the bottom right corner of a <div> so that the image doesn't move when the user scrolls the text (i.e. watermark). While it works in FF, it doesn't do as well in IE 6+ (if the image isn't fixed in directly within the <body> element).
What kind of a hack do I need in order to get the same effect in IE that I have in FF? Here is my relevant CSS and html:
<body>
<div id="container">
<div id="pageHeader">
</div>
<div id="menu">
[some menu items]
</div>
<div id="main_body">
<h2>Kilimanjaro</h2>
<p>[Some text]</p>
</div>
<div id="pageFooter">
<h6>[some text]</h6>
</div>
</div>
</body>
#main_body {
height: 600px;
overflow: auto;
color: #333;
margin-left: 150px;
border-left: thin black dotted;
padding-left: 10px;
padding-right: 20px;
padding-bottom: 20px;
text-align: left;
background: url('Images/mt_kilimanjaro
background-repeat: no-repeat;
background-position: bottom right;
}
Many thanks-
Jens
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Thanks Starfailure, but it didn't work.
Despite putting the background-fixed property in the #main_body div, the image fixed itself to the bottom right of the <body> element instead. As a result, the image moves about whenever the window's width is re-sized in IE. I need the image to stay at the bottom right of the visible part of the div, not the <body>. This happens in both IE and FF.
However, when I use _background-fixed the image stays in the right spot in FF (since it ignores the property as you said), but in IE the it is stuck at the bottom right of the WHOLE div (not just the visible part, i.e. it only becomes visible when the user scrolls to the bottom).
Any other idea?
Business Accounts
Answer for Membership
by: starfailurePosted on 2007-11-21 at 09:35:13ID: 20329449
for IE:
background-attachment: fixed;
problem is, this doesn't seem to work in firefox for some reason. maybe because you have the background defined in the div?