注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 利用IPSec实现网络安全之..
 帮助

a:link,a:visited,a:hover,a:active的使用和(CSS定义的)顺序


2008-02-15 21:22:19
 标签:active link visited hover   [推送到技术圈]

 
注意:1.CSS中a:hover 必须在a:link和 a:visited后出现,才能正常显示效果!(a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!);
      2.CSS中a:active必须出现在a:hover定义后才能有效果!(Note: a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!)


a:link       初始状态
a:visited   已经访问过的
a:hover     把鼠标放上去时
a:active    鼠标点击时




    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: