CSS box shadow

Drop a 5px shadow outside the box

box-shadow: 0 0 5px #B5B5B5;
-moz-box-shadow: 0 0 5px #B5B5B5;
-webkit-box-shadow: 0 0 5px #B5B5B5;

Drop a 5px shadow inside the box

box-shadow: inset 0 0 5px #B5B5B5;
-moz-box-shadow: inset 0 0 5px #B5B5B5;
-webkit-box-shadow: inset 0 0 5px #B5B5B5;

CSS3 specification: box-shadow, -moz-box-shadow for Mozilla browsers and -webkit-box-shadow for webkit based browsers (Google Chrome, Apple's Safari)

Compatibility: Mozilla Firefox, Safari 5+, Google Chrome, Opera 10.5+

Does not work in Internet Explorer