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 7 pages « First < 3 4 5 6 7 >
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
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.
This fails validation because of the need for the "rel" attribute on the div. Anyone know of a way around this so that it will pass validation?
Great shadow effect. I have implanted it at http://www.pricelessweddings.com.au which is oscommerce.
good concept
This only adds to page elements as a box. I was hoping for a cross-browser (CSS1) compatible version of text-shadow.
Great work.
Can be very useful.
Please help. I wanna learn <b>Jscript (Advanced)</b>. Please give a reference to a great site. Sorry but i am just a beginner.
Commenting is not available in this weblog entry.
Can be very useful.
Please help. I wanna learn <b>Jscript (Advanced)</b>. Please give a reference to a great site. Sorry but i am just a beginner.






