jp19 0

I have an image, the top 80px of which I want to use for some other purpose, and remaining image, I want to set as a full page background image. Please see the site Goodbye Quotes

I tried setting:

background-position: 0px -80px

but it does not work.

How to properly use css sprite (background position) and full page background image?

  • I'm not sure I understand what you're going for. Which image are you referring to, the main background image? Ktash 3 months ago
  • Ya. So basically, there will be one image. I want the image except the top 80px to be used as "full page" background. I use background-position: -80 px; background-size:cover; but the -80px does not seem to do what I want. jp19 3 months ago