好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

IE6bug及tab列表的切换_html/css_WEB-ITnose

ie6bug

怎样才能让ie6的效果与其他的效果一样呢?麻烦各位帮忙解答解答,万分感谢!

ie7+及FF的效果


IE6的效果

我的源代码




无标题文档

body{padding:40px;font:12px/1.5 "新宋体", "微软雅黑", "Arial Black";color:#666;}
div{padding:20px;height:200px;}
.box{border:1px solid #09F;padding:0px;width:510px;max-height:200px;}
.tab{list-style:none;width:500px;height:27px;_position:relative;z-index:2;_overflow:hidden;border-bottom:1px solid #09F;padding-left:10px;_line-height:1px;}
.tab li{width:100px;height:23px;_position:relative;z-index:10;line-height:25px;text-align:center;border:1px solid #09F;background:#E9F3F3;*margin-right:3px;margin-top:3px;display:inline-block;*display:inline;zoom:1;}
.tab li.current{border-bottom:1px solid #fff;background:#fff;}




$(function(){
$("div").not(".box").hide();
$(".tab li").mouseover(function(){
var sty=$(this).attr("class");
$(this).addClass("current").siblings().removeClass("current");
$("div:not('.box')").hide();$("div#"+sty+"_1").show();
}).eq(2).trigger("mouseover");
});





常用网址
资讯类
购物类
娱乐

jisdfjalsfjkdsf

查看更多关于IE6bug及tab列表的切换_html/css_WEB-ITnose的详细内容...

  阅读:35次