您的位置:首页 > Web前端 > CSS

用CSS设置超链接时的文字颜色、样式。

2013-04-16 18:36 232 查看
用CSS设置超链接时的文字颜色、样式。

注意顺序:

a:hover必须位于a:visted之后

a:active必须位于a:hover之后

<head>

<style type="text/css">
  <!--
a:link { text-decoration: none;color: green} 
a:visited { text-decoration: none;color: white} 
a:hover { text-decoration:underline;color: green}   
a:active { text-decoration:blink}

  -->
   </style>

<title>环保</title>
</head>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: