Shadow Box Demo

Works on all browsers that can display regular css3 drop shadows and rounded corners

Degrades gracefully - other browsers simply won't display shadow.

Scales perfectly to any size of element.

Apply to a parent div or directly to an element (img not included)

Easy to modify to fit your needs.

The class applied directly to a paragraph tag.

Same style with fixed width and rounded edges. The same
basic technique can easily be adapted to put the shadow on any side or
to put a curved shadow on just one corner. Can work on any solid color
background. Patterns, images, or gradients as backgrounds may not work.