Jump to content

Have image resize based on resizing of image in background


twebman84

Recommended Posts

Website: http://imabuy.com/

I would like the top image (Fast and Furious motorcycle) to stay in position on the movie screen which is part of the background image. The background image is set like this:

 

img.home-drive-in {

    width: 100%;

    top: 0;

    left: 0;

}

 

the top image is:

 

#movie-screen {

    position: absolute;

    left: 513px;

    top: 20px;

}

 

As you can see, I am asking the background image to resize with the browser. That works fine, but the top image doesn't. Is there a way to make that image resize and stay in position on top of the movie screen? Or maybe there's a better way to do this.

 

Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.