<html>
<head>
<style type="text/css">
.shadowbox {
background: #ccc;
position: relative;
top: 2px;
left: 2px;
}
.shadowbox div {
background: #333;
border: 2px solid #000;
color: #fff;
padding: 10px;
position: relative;
top: -2px;
left: -2px;
}
</style>
</head>
<body>
<div class="shadowbox">
<div>And there you have your result!</div>
</div>
</body>
</html>
效果还不错