我做了一个网页 有一个关于在IE6.0下Response.Write后显示不正确的问题
我做了一个网页运行正常谷歌浏览器运行测试通过但是在IE6.0中登陆的时候假如输错密码或者其他就是出现Response.Write后回到登陆页面整个页面就会全部向左边移动不...
我做了一个网页 运行正常 谷歌浏览器运行测试通过 但是在IE6.0中登陆的时候假如输错密码或者其他 就是出现Response.Write后回到登陆页面整个页面就会全部向左边移动 不知道为什么 求高手解答
#container {
width:1000px;
margin:0 auto;
}
/*header*/
body
{
width:100%;
height:100%;
background-image: url(images/index_02.gif);
}
#header {
height:47px;
background-image: url(images/index2_02.jpg);
margin-top: 40px;
}
#nav { height:105px;background-image: url(images/index2_03.gif);}
/*main*/
#maincontent {}
#main {
float:left;
width:289px;
height:320px;
background-image: url(images/index2_04.gif);
}
#side {
float:left;
width:419px;
height:320px;
background-image: url(images/index2_05.jpg);
}
#right{
float:left;
width:292px;
height:320px;
background-image: url(images/index2_07.gif);
}
/*footer*/
#footer {
height:200px;
background-image: url(images/index_02.gif);
background-repeat:repeat;
}
<div>
<div id="container">
<div id="header"></div>
<div id="nav"></div>
<div id="maincontent">
<div id="main"></div>
<div id="side">
<div style="height: 100px; width: 210px; padding: 5px; float: left; margin: 160px auto 50px; left: 100px; right: 100px;position: absolute !important;position:relative; vertical-align:middle">
<div >
用 户
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</div>
<div>
密 码
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</div>
<div >
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
</div>
</div>
</div>
<div id="right"></div>
</div>
<div id="footer"></div>
</div>
</div> 展开
#container {
width:1000px;
margin:0 auto;
}
/*header*/
body
{
width:100%;
height:100%;
background-image: url(images/index_02.gif);
}
#header {
height:47px;
background-image: url(images/index2_02.jpg);
margin-top: 40px;
}
#nav { height:105px;background-image: url(images/index2_03.gif);}
/*main*/
#maincontent {}
#main {
float:left;
width:289px;
height:320px;
background-image: url(images/index2_04.gif);
}
#side {
float:left;
width:419px;
height:320px;
background-image: url(images/index2_05.jpg);
}
#right{
float:left;
width:292px;
height:320px;
background-image: url(images/index2_07.gif);
}
/*footer*/
#footer {
height:200px;
background-image: url(images/index_02.gif);
background-repeat:repeat;
}
<div>
<div id="container">
<div id="header"></div>
<div id="nav"></div>
<div id="maincontent">
<div id="main"></div>
<div id="side">
<div style="height: 100px; width: 210px; padding: 5px; float: left; margin: 160px auto 50px; left: 100px; right: 100px;position: absolute !important;position:relative; vertical-align:middle">
<div >
用 户
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</div>
<div>
密 码
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</div>
<div >
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
</div>
</div>
</div>
<div id="right"></div>
</div>
<div id="footer"></div>
</div>
</div> 展开
2013-03-25
展开全部
CSS hack。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询