用图片修饰的圆角边框
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>另一CSS圆角框的实现方法</title>
<style>
.rndbox {
background: #C6D9EA;
width: 300px;
font: 11px Verdana, Arial, Helvetica, sans-serif;
color: #000033;
}
.rndtop {
background: url(http://www.codefans.net/jscss/demoimg/201104/topright.gif) no-repeat right top;
}
.rndbottom {
background: url(http://www.codefans.net/jscss/demoimg/201104/bottomright.gif) no-repeat right top;
}
.rndbox p {
margin: 0 8px;
}
</style>
</head>
<body>
<div class="rndbox">
<div class="rndtop"><img src="http://www.codefans.net/jscss/demoimg/201104/topleft.gif" alt="" width="30" height="30" /></div>
<p>God gives answers in 3 ways: He says yes and gives U what U want. He says no and gives U something better. He says wait and gives U the best. 上帝用三种方式作答:他点头给你想要的;他摇头给你更好的;他让你等,就给你最棒的。</p>
<div class="rndbottom"><img src="http://www.codefans.net/jscss/demoimg/201104/bottomleft.gif" alt="" width="30" height="30" /></div>
</div>
</body>
</html>