html实现虚线分隔线3例

第一例:

代码

<HR style="BORDER-RIGHT: #00686b 1px dotted; BORDER-TOP: #00686b 1px dotted; BORDER-LEFT: #00686b 1px dotted; BORDER-BOTTOM: #00686b 1px dotted" noShade SIZE=1>


第二例:

代码

<DIV style="BORDER-TOP: #00686b 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></DIV>

 
 
 
第三例:用字符实现
代码
 <DIV align=center><FONT color=#008080>-------------------------------------------------------------------------</FONT></DIV>
 
---------------------------------------------------------------------------------------------------------------------------------------------
原文地址:https://www.cnblogs.com/shenyixin/p/2154618.html