IE6 DIV绝对定位 导入不显示问题
这是我的源程序 在IE8中是没问题的,到IE6中就左侧菜单就不显示了,急盼大神们帮忙看看...
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="LX.DXYJ.UIL.WebForm1" %>
<!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>
<style type="text/css">
*
{
margin: 0 0 0 0;
padding: 0;
}
html
{
height: 100%;
overflow: hidden;
font-family: 宋体;
font-size: 12px;
}
body
{
height: 100%;
overflow:scroll;
}
#Header
{
position: absolute;
left: 0px;
top: 0px;
right: 0px;
height: 85px;
background: url(Images/HeaderBG.gif);
background-repeat:repeat;
}
#SideBar
{
position:absolute;
clear:both;
left: 0px;
top: 85px;
bottom: 0px;
width: 160px;
overflow:hidden;
background: url(Images/SideBarBG.png);
}
#Content
{
position: absolute;
left: 160px;
top: 85px;
bottom: 0px;
right: 0px;
background-color: white;
}
#CompanyLogo
{
width: 200px;
height: 7px;
top: 0px;
position: absolute;
}
#Logo
{
background: url(images/logo.gif) no-repeat;
width: 400px;
height: 84px;
top: 0px;
position: absolute;
}
#Header_right
{
width: 500px;
height: 24px;
float:right;
text-align:right;
padding-right:50px;
padding-top:60px;
}
#DesignerLogo
{
background: #669900;
background: url(images/DesignerLogo.gif) no-repeat;
height: 50px;
left: 0px;
bottom: 0px;
right: 0px;
position: absolute;
}
.BarAreaTop
{
border-top: 1px #999999 solid;
height: auto;
left: 2px;
right: 5px;
position: absolute;
}
.BarAreaBottom
{
border-top: 1px #999999 solid;
height: auto;
left: 2px;
bottom: 50px;
right: 5px;
position: absolute;
}
.NavBar
{
background: url(../Images/NavBarBG03.png);
width: 100%;
height: 22px;
color: #666666;
text-align: center;
line-height: 21px;
}
.NavBar:hover
{
background: url(../Images/NavBarBG02.png);
width: 100%;
height: 22px;
color: #666666;
text-align: center;
line-height: 21px;
cursor: pointer;
}
.NavBtnText
{
color: #444444;
line-height: 25px;
text-align: left;
padding-top:5px;
padding-left :20px;
cursor:pointer;
}
.NavBtnText:hover
{
border-bottom-style:dashed;
border-bottom-color:#D5D5D5;
border-bottom-width: 1px;
background-color:#EFD4BD;
}
</style>
</head>
<body>
<form name="aspnetForm" method="post" action="default.aspx" id="aspnetForm">
<div id="Header">
<div id="Logo"></div>
<div id="Header_right">
欢迎您:[admin] 当前日期:[2012年11月20日]
</div>
</div>
<div id="SideBar">
<div class="BarAreaTop">
<div class="NavBar" onclick="location='../Main/Default.aspx'">欢迎使用</div>
<div class="NavBtnText" onclick="location='../Main/Default.aspx'"><img src="../Images/closed.gif" />欢迎使用</div>
</div>
<div class="BarAreaBottom">
<div class="NavBar" onclick="location='../Rpt/Rpt_Sum.aspx'">数据查询</div><div class="NavBar" onclick="location='../Role/Default.aspx'">基础资料</div><div class="NavBar" onclick="location='../Admin/Information_Default.aspx'">信息发布</div><div class="NavBar" onclick="location='../Pwd/EditPwd.aspx'">个人中心</div>
<div class="NavBar" onclick ="location='../UserLogin.aspx'">退出系统</div>
</div>
<div id="DesignerLogo"></div>
</div>
<div id="Content">
</div>
</form>
</body>
</html>