关于页面点击还原按钮页面内容错位

yang2948443 2012-09-19 01:37:22
我在做一个界面,但是在浏览器上显示的时候,最大化是显示正常的,但点击还原按钮的时候,右边的内容自动移到中间位置去了,而原本右边的位置却变空白了。求大神们解答,急急急!!!
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Logon.aspx.cs" Inherits="Web.Logon" %>

<!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 runat="server">
<link rel="stylesheet" type="text/css" href="Styles/Main.css"/>
<title>LOGON</title>
<style type="text/css">
.sidebar
{
height: 375px;
width: 180px;
}
</style>
</head>
<body id="body">
<form id="form1" runat="server">
<div id="header1"><img alt="Columbia" id="Image" src="images/01.jpg" /></div>  
<div id="container1">
<div id="mainContent1">
<div id="sidebar1"><img alt="Why" class="sidebar" src="images/cipflyer.jpg" /></div>
<div id="sidebar2">
<img alt="Log" src="images/0.jpg" />
<img alt="Log" src="images/131U0G9354140-595A8.png" />
<ul>
<li class="li1">UserID:</li>
<li class="li2"> <asp:TextBox ID="txtUserID" runat="server"></asp:TextBox> </li>
<li class="li1">Password:</li>
<li class="li2"><asp:TextBox ID="txtPWD" runat="server"></asp:TextBox>
</li>
<li class="li3">
<asp:Button ID="btnLogin" runat="server" Text="Login" />
<asp:Button ID="btnCancel" runat="server" Text="Cancel" />
</li>
</ul>
</div>
<div id="content1">Home
<div id="Pre"><pre style="height: 461px">
Columbia International Publishing (CIP), located in the US,
is a leading organization that delivers high-quality original
research to the world.CIP provides a platform for readers,
authors, editors, and peer reviewers to promote scientific research.
The CIP team consists of professors, scientists, engineers, enterprise
founders,business management experts, and talent staff.
International support provided to CIP by companies and universities
guarantees rapid,barrier-free delivery of research.

In order to promote scientific research, CIP is putting forward its
own definition of Open Access,which entails a great deal more than
“infinite readership,” as Open Access is commonly described.
In order to guarantee the complete authority and editorial independency,
CIP signs a contract with each voluntary editorial board member.
For a better understanding of CIP, please read CIP’s mission,
Why Open Access, the unique definition of CIP’s Open Access,
8 reasons to publish on CIP and 6 reasons to work with CIP.

All submitted manuscripts are subject to rigorous peer review.
Acceptance of a submission is solely based on recommendations by
voluntary editors and peer reviewers.If you are interested in being
a CIP editor or peer reviewer, please contact us.All papers and books
will be published online shortly after their acceptance.
</pre></div></div>
</div>
</div>
<div id="footer">
<p>
Copyright:<a href="#"> Columbia International Publishing LLC. </a>All rights reserved</p>
<p>
Address: 3610 Buttonwood Dr. Suite 200, Columbia MO 65201
</p>
<p>
Telephone: 1-573-886-8964 Fax:573-886-8901 Email: uscip@uscip.org</p>
</div>
</form>
</body>
</html>

#container1 {margin:0 auto; width:1420px;}
#header1
{
height: 100px;
background: #FFFFFF;
margin-bottom: 5px;
}
#mainContent1 { height:480px; margin-bottom:5px; width:1420px;}
#sidebar1 { float:left; width:191px;
padding-top:70px; height:419px;
background:#FFFFFF;
}
#sidebar2
{
float: right;
width: 343px;
height: 413px;
padding-right:10px;
}
#content1 { float:none; height:461px;
background:#FFFFFF;
width:620px;
}
...全文
344 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
yang2948443 2012-09-20
  • 打赏
  • 举报
回复
结贴!原因是样式出现问题了,没有链接进去。
woainilei 2012-09-19
  • 打赏
  • 举报
回复
用IE或火狐的调试工具看下,样式上哪儿里不兼容吧。
tan598121925 2012-09-19
  • 打赏
  • 举报
回复
找个美工调一下。
兼容问题吧
  • 打赏
  • 举报
回复
样式问题,不过在IE下,看了看,没有出现你说的问题,倒是在Firefox下底部错乱
yang2948443 2012-09-19
  • 打赏
  • 举报
回复
都没有人来解答吗?
yang2948443 2012-09-19
  • 打赏
  • 举报
回复
大神们呐,求解,急!
内容概要:本文围绕基于粒子群算法(PSO)的风电与水电(抽水蓄能)联合优化调度问题展开研究,旨在通过智能优化算法实现可再生能源的高效利用与电力系统的经济稳定运行。文中系统阐述了粒子群算法的核心原理及其在电力调度中的适用性,构建了综合考虑风电出力不确定性、抽水蓄能电站调节能力及系统运行约束的联合优化调度模型。采用Matlab进行算法编程与仿真求解,验证了该方法在降低系统综合运行成本、提升新能源消纳水平、增强电网调峰调频能力等方面的优越性能。研究进一步设计了多种对比场景,分析不同调度策略下的系统表现,充分展示了所提模型在应对复杂运行条件时的鲁棒性与实用价值。; 适合人群:具备一定电力系统分析基础和Matlab编程能力的研究生、科研人员,以及从事新能源并网调度、电力系统规划与运行等相关领域的工程师; 使用场景及目标:①应用于风电场与抽水蓄能电站的协同优化调度决策支持;②为高比例可再生能源接入的电力系统提供经济可靠的低碳调度方案;③服务于高校及科研院所中关于智能优化算法在能源系统中应用的教学与科研实验; 阅读建议:建议读者结合提供的Matlab代码深入理解算法实现细节与模型构建逻辑,重点关注目标函数设计、约束条件处理及参数设置对优化结果的影响,并通过复现仿真结果来掌握粒子群算法解决复杂非线性调度问题的关键技术要点。

62,272

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧