<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html charset=gb2312" />
<title>Untitled Document</title>
<style type="text/css">
div#pic{
background: url(http://cache.soso.com/wenwen/i/nlogo_ask1.gif) left top
width: 151px
height: 47px
border: 1px solid #000000
}
div#shadow{
width: 151px
height: 47px
background: #CCCCCC /*阴影颜色*/
position: relative /*设置阴影图层的位置为相对定位*/
left: 5px
top: -44px
z-index: -1 /*把阴影图层置于最底层*/
}
</style>
</head>
<body>
<div id="pic"></div>
<div id="shadow"></div>
</body>
</html>
filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=1, OffY=1, Color='#000000', Positive=true)具体参数可以自己调哦 OffX OffY 是偏移的值 color是阴影的颜色