超链接样式和水平线样式
超链接:
a:link{ color :#00688B;text-decoration:none;font-size: small}//未
a:hover{ color :#000000;text-decoration:underline}
a:active{ color :Gray ;text-decoration:underline}
a:visited{ color :#00688B;text-decoration:none;font-size: small }//过
水平线:
<hr size="1" style="border-style: dotted dotted none; border-bottom: medium none;">
1、普通分隔线:<hr>
--------------------------------------------------------------------------------
2、分隔线宽度属性:<hr width=50%> 或者 <hr width=250> (宽度为实际点数或百分比)
--------------------------------------------------------------------------------
3、分隔线位置属性:<hr align=right width=50%> (位置分为 Left、Center、Right 三种)
--------------------------------------------------------------------------------
4、分隔线厚度属性:<hr style="height:10px"> (奇怪,height=10 似乎不能起到效果)
--------------------------------------------------------------------------------
5、分隔线无阴影属性:<hr style="height:10px" noshade>
--------------------------------------------------------------------------------
6、分隔线彩色属性:<hr color=red> 或者 <hr color=#FF0000> (颜色可调)
--------------------------------------------------------------------------------
7、渐变颜色的分隔线:
<hr style="filter:alpha(opacity=5,finishopacity=100,style=1);height:10px" color=green>
--------------------------------------------------------------------------------
<hr style="filter:alpha(opacity=100,finishopacity=5,style=1);height:10px" color=blue>
--------------------------------------------------------------------------------
8、中心透明的分隔线:
<hr style="filter:alpha(opacity=0,finishopacity=100,style=2);height:12px" color=orange>
--------------------------------------------------------------------------------
<hr style="filter:alpha(opacity=0,finishopacity=100,style=3);height:12px" color=#FF00FF>
--------------------------------------------------------------------------------
9、中心不透明的分隔线:
<hr style="filter:alpha(opacity=100,finishopacity=0,style=2);height:15px" color=yellow>
--------------------------------------------------------------------------------
<hr style="filter:alpha(opacity=100,finishopacity=0,style=3);height:15px" color=#00FFFF>
--------------------------------------------------------------------------------
10、波浪线:
<hr style="filter:wave(strength=9,freq=2,lightstrength=20,phase=9);height:15px" color=pink width=95%>
--------------------------------------------------------------------------------
11、三色线:
<hr style="border-top: #ff0000 solid; color: #00ff00; border-bottom: #0000ff solid; height: 9px">
--------------------------------------------------------------------------------
12、虚线:
<hr style="border-top: 2px dashed; border-bottom: 2px dashed; height: 2px" color=black>
--------------------------------------------------------------------------------
13、竖线:
<hr style="height:100px; width:4px" color=orange>
<hr style="filter:alpha(opacity=100,finishopacity=5,style=2); height:100px; width:5px" color=navy>
<hr style="filter:alpha(opacity=0,finishopacity=100,style=2);height:100px; width:4px" color=red>
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/mane_yao/archive/2010/07/16/5739913.aspx