网页的CSS样式 .s a:link{width:100px;text-decoration:none;}.s a:visited{width:100px;text-decoration:none;}.s a:active{width:100px;text-decoration:none;}.s a:hover{width:100px;text-decoration:none;}都将下划线给去除了,但是每次把鼠标移动到超链接文字上就会出现下划线?什么问题呀?
超链接文字处的代码是<td class="s"><a href="">dfjldk</a></td>
上面的样式省略的部分。
超链接文字处的代码是<td class="s"><a href="">dfjldk</a></td>
上面的样式省略的部分。
1是默认的
2还有其他相关的css定义了
css 这个东西最近也在玩~~
不过lz怎么把这个发到oracle板块上来了呢??
<!--
a:link { text-decoration: none;color: blue}
a:active { text-decoration:blink}
a:hover { text-decoration:underline;color: red}
a:visited { text-decoration: none;color: green}
-->
</style>a:link 指正常的未被访问过的链接; a:active 指正在点的链接; a:hover 指鼠标在链接上; a:visited 指已经访问过的链接; text-decoration是文字修饰效果的意思; none参数表示超链接文字不显示下划线; underline参数表示超链接的文字有下划线 同样,如果讲none替换成overline则给超链接文字加上划线,换成line-through给超链接文字加上删除线,blink则使文字在闪烁。