Home > Web Front-end > HTML Tutorial > 蛋疼的ie6_html/css_WEB-ITnose

蛋疼的ie6_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:33:21
Original
1092 people have browsed it

<!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=utf-8" /><title>无标题文档</title><script type="text/javascript" src="scripts/jquery.js"></script><style type="text/css">    *{margin:0;padding:0;}</style><script type="text/javascript">    $(document).ready(function(e) {       $("#a").mouseover(function(e) {            $("#b").slideDown();        });         $("#a").mouseleave(function(e) {                        $("#b").slideUp();        });    });</script></head><body><div id="a" style="position:relative;width:100px;height:30px;border:1px solid #cccccc;">    <div id="b" style="position:absolute;top:30px;left:0px;width:300px;height:400px;border:1px solid #cccccc;display:none;"></div></div></body></html>
Copy after login


效果是个鼠标经过弹出,离开就收回的菜单,但在蛋疼的ie6里只要一离开div a的范围就会收回,其他浏览器都正常,求解答。


回复讨论(解决方案)

给#b 加个 background:#fff;

给#b 加个 background:#fff;
搞定,蛋疼的ie6

引用 1 楼  的回复:

给#b 加个 background:#fff;

搞定,蛋疼的ie6
不用Ie 6的路过

给#b 加个 background:#fff;
但这是为毛?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template