PDA

View Full Version : Css Shadows


africano
09-05-2008, 03:27 PM
Hi, on most of the websites Ive seen there is a shadow on the main wrapper, I mean the frame that holds the website.

How is this achieved?

Simply question...but Ive had a play and it doesnt seem as easy as it might sound....:wink:

domedia
09-05-2008, 03:49 PM
Hi Africano,
There's acouple of different techniques to achieve this. If you look at a specific website and wonder how they do it, then look at their source, the HTML and CSS will tell you how they did it. I add a background image to the wrapper.

africano
09-05-2008, 03:52 PM
ok thanks I think Ive found a website Alistapart which has an article on how to achieve it,.

domedia
09-05-2008, 04:52 PM
Yeah, basically I think you should start doing 2 things before asking for help:
1. Find something nice? Look at their code
2. Google it :-)

Corrosive
09-05-2008, 05:44 PM
Yeah, basically I think you should start doing 2 things before asking for help:
1. Find something nice? Look at their code
2. Google it :-)

You can do this in DW can't you? I've never tried I must be honest but then I'd do what Domedia says and use a repeated graphic.

Rob_Che
09-05-2008, 09:22 PM
As an example... here's my background from one of my wrapper divs...

http://www.doncasterlivemag.co.uk/images/paper-main.png

Rob