虚线
在css里面添加
td {border-bottom:1px dashed #000000;}
实线
在css里面添加
td {border:1px solid black;}
-------------------------------------------------------------------
去掉链接的下划线,并设定字体的颜色
A:link { text-decoration:none; color:#你想要的颜色;}
A:visited { text-decoration:none; color:#你想要的颜色;}
A:hover { text-decoration:none; color:#你想要的颜色;}
A:active { text-decoration:none; color:#你想要的颜色;}
-------------------------------------------------------------------------
鼠标悬停提示效果,将下面的代码copy到一个文本文件中保存为xx.html,打开就可以看到效果了。
.tooltips{ position:relative; /*这个是关键*/
z-index:2; } .tooltips:hover{ z-index:3; background:none; /*没有这个在IE中不可用*/
} .tooltips span{ display: none; } .tooltips:hover span{ /*span 标签仅在 :hover 状态时显示*/
display:block; position:absolute; top:21px; left:9px; width:15em; border:1px solid black; background-color:#ccFFFF; padding: 3px; color:black; }