吴旭晓个人博客 繁体中文 简体中文

首页| 日志 |JAVA |ASP |PHP |Android |IOS |ASP.NET |JavaScript |DIV+CSS |SEO |taobaoke |饼哥语录
繁体中文 简体中文

IE6中不支持hover focus伪类的解决方法!

解决办法1:
国外一设计师设计一脚本,可以使IE6支持hover focus。我们只需要在 <head> </head>添加以下代码
<!--[if lte IE 6]>
<style type="text/css">
body { behavior:url("csshover.htc"); }
</style>
<![endif]-->
并将csshover.htc文件放在站点下。IE6即可支持hover focus伪类。
csshover.htc下载
http://www.xs4all.nl/~peterned/htc/csshover3.htc

解决办法2:
用标签A模拟。。。
改变A的display为block
用li a:hover来实现li:hover的效果

作者:吴旭晓 | 来源:个人博客 | 点击量:3380 | 发布时间:2010-08-27
最新留言 | 返回上一页 | 返回首页

相关文章:

版权所有:吴旭晓个人博客 Copyright © 2013-2023 个人博客