luyuwan

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>CSS隐藏鼠标点击焦点框</title> <style type="text/css"> a{ color:#39C; text-decoration:none; outline: none; /* firefox */hide-focus: expression(this.hideFocus = true); /* ie */ } a:hover{ text-decoration:none;} </style> </head> <body> <a href="http://www.baidu.com" target="_blank">百度一下</a> </body> </html>

ps:样式中加这个expression(this.hideFocus = true)会影响速度

posted on 2012-07-17 18:08  wendy_lu  阅读(405)  评论(0编辑  收藏  举报

分类:

技术点:

相关文章:

  • 2021-12-22
  • 2021-11-06
  • 2021-11-06
  • 2021-11-02
  • 2021-10-09
  • 2021-09-27
  • 2021-07-16
  • 2021-11-29
猜你喜欢
  • 2021-09-27
  • 2021-10-09
  • 2021-11-13
  • 2021-11-23
  • 2021-11-13
  • 2021-11-23
  • 2021-11-13
相关资源
相似解决方案