Title: Help Reverse Engineer Auto resize Background Image (with Working Example)
Last modified: August 19, 2016

---

# Help Reverse Engineer Auto resize Background Image (with Working Example)

 *  [britwolfson](https://wordpress.org/support/users/britwolfson/)
 * (@britwolfson)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/help-reverse-engineer-auto-resize-background-image-with-working-example/)
 * [http://www.amypink.com/](http://www.amypink.com/)
 * This guy has a working background auto-resize. I want to do the same thing, BAD!
 * Can anyone help me do this?? This is obviously not a real background image, but
   rather an image with a CSS ID and some other hijinks worked in.
 * I took a look at his stylesheet and it has this, but when I put it in to my code(
   and I don’t even know how to use the bodyDiv class) it puts the image ON TOP 
   of the content.
 * He even got this code to work in IE6. I am impressed! Please help with this project:
 * /* BG-Image auf unterste Ebene anordnen */
    #bgImg{ position: absolute; top: 
   0; left: 0; border: 0; z-index: 1;
 *  min-height : 50%;
    min-width : 50%; margin : 0 auto;
 * }
    /* Body-Dummy absolut Ÿber BG-Image legen; Scrollbar bei Bedarf einblenden*/#
   bodyDiv{ position: absolute; top: 0; left: 0; z-index: 2; overflow: auto; width:
   100%; height: 100%; text-align: center; vertical-align : middle;}

The topic ‘Help Reverse Engineer Auto resize Background Image (with Working Example)’
is closed to new replies.

## Tags

 * [auto](https://wordpress.org/support/topic-tag/auto/)
 * [background](https://wordpress.org/support/topic-tag/background/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [full](https://wordpress.org/support/topic-tag/full/)
 * [height](https://wordpress.org/support/topic-tag/height/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [resize](https://wordpress.org/support/topic-tag/resize/)
 * [screen](https://wordpress.org/support/topic-tag/screen/)
 * [width](https://wordpress.org/support/topic-tag/width/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [britwolfson](https://wordpress.org/support/users/britwolfson/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/help-reverse-engineer-auto-resize-background-image-with-working-example/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
