<html>
<head> <meta charset="utf-8" />
<title>html边框虚线演示</title>
<style>
.bor{border:1px dashed #F00;width:40px;height:20px;} span{display:block}/*css注释说明:让span形成块*/
</style> </head>
<body> <p class="bor" align="center">220¥</p> <p class="bor" align="center">220¥</p> <p class="bor" align="center">220¥</p>
<p class="bor" align="center">220¥</p>
<p class="bor" align="center">220¥</p>
<p class="bor" align="center">220¥</p>
<p class="bor" align="center">220¥</p>
</body>
</html>