View Full Version : Can i add Shadow or Glow to a Div ?

10-31-2009, 04:13 AM
Just want to know if i could add glow or shadow to a DIV, like a Wrapper, so all my site wil look more separated from the background.

10-31-2009, 08:34 AM
Using CSS3 techniques you can add a drop shadow. Remember that these will not work on older browsers or that there is any guarantee that they will remain in the spec for CSS3 when/if it becomes standard...


use with caution! If you want nailed on compatibility then use images :)

10-31-2009, 01:43 PM
Kuros Mate...

What will appear in older browsers, will it affect my content or DIV's ?
Do you know the code ?

10-31-2009, 05:46 PM
The link with information on the CSS property will give you the information needed to know what code to write.
You need to test this effect on your target browsers to see how it looks. It degrades gracefully, so so browsers will display the shadow, others not.