转载:CSS定义HR水平线的几种样式
[url]http://www.sx918.com/Design/Rules/5701282010.html[/url]
如图所示:
[img]http://dl.iteye.com/upload/attachment/405767/838af187-c39f-39a1-87c5-ef3d0e312da5.jpg[/img]
[url]http://www.sx918.com/Design/Rules/5701282010.html[/url]
<style type="text/css">
<!--
.hr0{ height:1px;border:none;border-top:1px dashed #0066CC;}
.hr1{ height:1px;border:none;border-top:1px solid #555555;}
.hr2{ height:3px;border:none;border-top:3px double red;}
.hr3{ height:5px;border:none;border-top:5px ridge green;}
.hr4{ height:10px;border:none;border-top:10px groove skyblue;}
-->
</style>
<hr class="hr0" />
<hr class="hr1" />
<hr class="hr2" />
<hr class="hr3" />
<hr class="hr4" />
如图所示:
[img]http://dl.iteye.com/upload/attachment/405767/838af187-c39f-39a1-87c5-ef3d0e312da5.jpg[/img]