<html>
<head>
<style type="text/css">
body{
background-color:blue
}
.test{300px; padding:30px 20px; margin-left:60px; background:#beceeb; position:relative;}
.test span{0; height:0; font-size:0; overflow:hidden; position:absolute;}
.test span.bot{
border-20px;
border-style:solid;
border-color:#ffffff #beceeb #beceeb #ffffff;
left:-40px;
top:40px;
}
.test span.top{
border-15px 20px;
border-style:dashed solid solid dashed;
border-color:transparent #beceeb #beceeb transparent;
left:-40px;
top:20px;
}
</style>
</head>
<body>
<div class="test">
<span class="top"></span>
CSS “边框法”实现气泡对话框效果一
</div>
</body>
</html>