Here's an example of CSS styles you can use to create nice soft drop shadows around elements on a web page:
<style>
#test {
-moz-box-shadow: 3px 3px 3px #666;
-webkit-box-shadow: 3px 3px 3px #666;
box-shadow: 3px 3px 3px #666;
}
</style>
Here's how it looks, applied to a div:
Ads by Google
Posted by ellen at November 21, 2010 04:50 PM