Jump to content

Gradient Drop Shadow Wrapper Around Entire Webpage?


vozzek

Recommended Posts

Hi all,

 

I'd like to use a background image to create a gradient-type drop shadow around my entire website's content.  I found another site that's doing it using a repeating .png image that's 1020x1, but the problem is I don't know how they're making it 'resize' depending upon the browser/screen resolution.

 

The content of the site is centered, with a dark-to-light gradient drop shadow on both sides.  No matter what I change my screen resolution to, the drop shadow sits nicely behind the website (the width of the site is 980px).

 

I've tried duplicating it by changing the width of my own site to 980, but whenever I change my screen to a higher resolution the shadow is offset... but only on my site.

 

So basically, can someone look at the site and tell me how they're doing it?  I checked their CSS and don't see how it works.  The site's url is diaperbags dot com

 

Thanks in advance!

 

 

 

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.