虚线用css来做.
border线型主要有:
1、dotted【点状】
2、solid【实线】
3、double【双实线】
4、dashed;【虚线】
如果一个CSS这样写:border-bottom:1px dashed #000000;
出来的框就是:一条宽度为1像素的黑色下划虚线。
例:<div style="border-bottom:1px dashed #000000;">虚线</div>
=======================================================
<style>
.class1{ border:1px; dashed #000;}
</style>
<body>
<hr class="class1">
</body>