Jump to content

background-image: bottom in firefox


xfz
 Share

Recommended Posts

I can't get this to work. I have an background-image on my page. It looks just fine in IE, but when i am trying to do the same in firefox, nothing happens.The site: http://equinox.silentwhisper.net/~oskar/FI...reet/index.htmlLook at the bottom of the page with IE, you will se a fade.Now, take a look with firefox. The background image is at the top instead.CSS: http://equinox.silentwhisper.net/~oskar/FI...reet/stilen.cssWhat have i done wrong?I've tried everything (I think), height: 100%, background-attachment: fixed / scroll....Thank you for your help.

Link to comment
Share on other sites

Well. The red bars are only there because i replaced the original background so you could see it easier. The red bar is supposed to be att the bottom all the time, which is it with IE.It should be like this http://equinox.silentwhisper.net/~oskar/FI...rlstreet_ie.JPGNow I discovered that it works fine in firefox 1.0.6 (only tested that). But in 1.5 its not working at all.

Link to comment
Share on other sites

I don't see a difference and I checked in Firefox 1.5, IE6, & Opera 8.51

I solved all my problems, almost. I changed my bodydiv to position: relative, put a min-height (because firefox understand min-height, and its already working in IE), put my backgrund on the html instead, and the padding-bottom to 40px (as heigh as the background-image) because it was out of the viewport.I think it is all fine now. Wow!View it @ http://equinox.silentwhisper.net/~oskar/FILES/pearlstreet/
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...