12月
29
你是否在编写你的网页时遇到了类似的困扰呢:在一个文本中添加了超链接之后,下面出现了下划线。有时候你是不想让这个下划线显示出来的,而且也不希望当鼠标滑过或者点击之后变颜色,那么好,你可以在你的html页开头处的2个
<style type="text/css">
<!--
a:link { color:#FFFFFF; text-decoration: none}
a:visited { color:#FFFFFF; text-decoration: none}
a:hover { color:#FFFFFF; text-decoration: none}
-->
</style>
如果你希望在适当的位置显示超链接下划线的话,可以将对应的text-decoration属性的值none更改为underline,如:
<header>
标签中间添加下面的CSS代码:<style type="text/css">
<!--
a:link { color:#FFFFFF; text-decoration: none}
a:visited { color:#FFFFFF; text-decoration: none}
a:hover { color:#FFFFFF; text-decoration: none}
-->
</style>
如果你希望在适当的位置显示超链接下划线的话,可以将对应的text-decoration属性的值none更改为underline,如:
a:hover { color:#FFFFFF; text-decoration: underline}
中央机关及直属机构2007年考试
喝了点白的
