CSS Library: DIVs and containers: Here
CSS Gradient Shadow
Author: Michael Burt
This is a CSS and JavaScript technique that lets you add a shadow to most elements on your page with a customizable shadow depth and coloring. Just give the element in question a class name of "shadow" to activate the effect.

The CSS:
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 5 of 5 pages « First < 3 4 5
If I make a two columns liquid layout with the left column being static, always in view. Then can I add a shadow with this technique to the left column? If not how can I do it?
excellent work !! it really gives a nice effect..thanks
very cool!
I must be slow. 'Cut and pasted on test pages. 'Got the image and paragraph but no drop shadow. Shouldn't there be a link tag to give path information from the html to the css stylesheet?
this is very good sameple code that i can use at my site http://www.cambodia-tourism.org
thanks
thanks
Really love this! Thank you so much!! Works in great in most browsers. Only I've been testing it (among other things) in IE8. It doesn't work in IE8, it does when you change the browser mode to IE7 or to IE8 Compatibilty View. I don't know JavaScript so I can't offer a solution. Just hoping someone else will.









Another one for my list at http://www.kirkdesigns.co.uk/css-shadows-a-drop-shadow-roundup