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 3 of 7 pages < 1 2 3 4 5 > Last »
Somebody please tell me how to change the place of the shadow. Thanks
I applied this code to a table and it works great in IE7. When I use firefox 2 the table gets all jumbled up. Is there any fix for this?
sorry,but it does not work in firefox
I copied the script exactly and in Safari the shadow kept coming on the top left and in firefox it came in the right spot.
But on the sample page provided the shadow was in the right spot in safari.
HELP!
But on the sample page provided the shadow was in the right spot in safari.
HELP!
I like the code, but I'm having trouble getting it to show up in IE. The sample page on dynamicdrive.com shows it correctly, so I'm sure it's just how Ipm positioning the code. I copied and pasted the CSS into my head section. It works in Firefox, but not IE. please help!
Java "creep"??
I left this page open for maybe an hour while I poked about doing other things.
When I came back - the "shadow" boxes had creeped an inch to the LEFT and another 1/4" down - making HUGE colored boxes on the screen
??
FF 2.0.0.6 here. Switching the rendering engine to IE changed the "shadows" to SOLID red and blue boxes!
I left this page open for maybe an hour while I poked about doing other things.
When I came back - the "shadow" boxes had creeped an inch to the LEFT and another 1/4" down - making HUGE colored boxes on the screen
??
FF 2.0.0.6 here. Switching the rendering engine to IE changed the "shadows" to SOLID red and blue boxes!
super!love it!
Nice.. put more plssss
i need code of create 3 level menu in javascript. if your can able to send me code. i shall always be greatful to you ?
Thanks and best regards.
Diwakar Tiwari.
Thanks and best regards.
Diwakar Tiwari.
That's interesting..
But it have problem in IE and on resize window shadow's position changes, and it looks like two divs one with image and other is shadow.
can i have some solution for it
Commenting is not available in this weblog entry.
But it have problem in IE and on resize window shadow's position changes, and it looks like two divs one with image and other is shadow.
can i have some solution for it

