ie7中css执行正常,但是到了ie8中就不正常了,DIV框的位置position:absolute似乎在ie8中不起作用了
/*框架开始*/a:hover{text-decoration:underline};.area{margin:0pxauto;text-align:left;_heig...
/*框架开始*/
a:hover{
text-decoration:underline};
.area{margin:0px auto;text-align:left;_height:100%;_overflow:auto; position:relative; }/*控制左侧DIV条随着下拉框滚动位置*/
.area_left{width:130px;float:left;}
.area_right{width:850px;margin:0 auto;padding-left:65px;}
.area_right_left{width:295px;float:left;padding-right:10px;}
.area_right_left2{width:640px;float:left;}
.area_right_center{width:330px;float:left;}
.area_right_right{width:200px;float:right;}
.area_right_right_new{background:url(images/w_08.gif) repeat-x scroll 0 -2px;}
html { height:100%; overflow: hidden;}
body { height:100%; overflow:hidden; font-size:12px; position:relative; _overflow-y:scroll}
.left_menu { position:absolute; top:170px; left:54.7%;margin-left:-519px;width:200px; HEIGHT: 560px;WIDTH: 144px;Z-INDEX: 200;background:rgb(70,126,209) }/*左侧导航栏的背景颜色,position:absolute的值在ie7中没问题,但是在ie8中DIV竟然和position:fixed的效果一样,我加了强制在ie8中执行ie7模式也不好使【就是用<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>】*/
.area_right_class {
height:100%; overflow:auto;
+overflow-x:hidden;
BACKGROUND: url(images/top_bg.gif) #fff repeat-x
}
.tt_nav ul.navx h1{font-size:14px;}
.ttMenudiv h2{display:inline;font-size:12px;font-weight:normal}
.active_menu h2{font-weight:normal}
.left_menu_wrap{background: url(images/z_16.jpg) repeat-x rgb(70,126,209);}
.left_menu a:hover{text-decoration:none}; 展开
a:hover{
text-decoration:underline};
.area{margin:0px auto;text-align:left;_height:100%;_overflow:auto; position:relative; }/*控制左侧DIV条随着下拉框滚动位置*/
.area_left{width:130px;float:left;}
.area_right{width:850px;margin:0 auto;padding-left:65px;}
.area_right_left{width:295px;float:left;padding-right:10px;}
.area_right_left2{width:640px;float:left;}
.area_right_center{width:330px;float:left;}
.area_right_right{width:200px;float:right;}
.area_right_right_new{background:url(images/w_08.gif) repeat-x scroll 0 -2px;}
html { height:100%; overflow: hidden;}
body { height:100%; overflow:hidden; font-size:12px; position:relative; _overflow-y:scroll}
.left_menu { position:absolute; top:170px; left:54.7%;margin-left:-519px;width:200px; HEIGHT: 560px;WIDTH: 144px;Z-INDEX: 200;background:rgb(70,126,209) }/*左侧导航栏的背景颜色,position:absolute的值在ie7中没问题,但是在ie8中DIV竟然和position:fixed的效果一样,我加了强制在ie8中执行ie7模式也不好使【就是用<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>】*/
.area_right_class {
height:100%; overflow:auto;
+overflow-x:hidden;
BACKGROUND: url(images/top_bg.gif) #fff repeat-x
}
.tt_nav ul.navx h1{font-size:14px;}
.ttMenudiv h2{display:inline;font-size:12px;font-weight:normal}
.active_menu h2{font-weight:normal}
.left_menu_wrap{background: url(images/z_16.jpg) repeat-x rgb(70,126,209);}
.left_menu a:hover{text-decoration:none}; 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询