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

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;
}
...全文
316 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
  • 打赏
  • 举报
回复
大神们呐,求解,急!
代码转载自:https://pan.quark.cn/s/8ce4326d996e 对于在 CentOS 7 系统中修改网卡配置文件后无法使设置生效的情况,经过实践验证,可以通过使用 nmcli 命令来进行调整。完成修改之后,需要重新启动虚拟机以使更改生效,这样操作流程即告完成。如果设置仍然无法生效,则表明虚拟机在启动过程中所获取的 IP 地址配置并非针对 eth0,此时可以对其它网卡的配置文件进行修改或将其移除。在 CentOS 7 系统中,网络配置的管理机制与早期版本存在差异,主要体现为采用了 Network Manager 服务来负责网络接口的管理。在某些情形下,尽管修改了 `/etc/sysconfig/network-scripts` 目录下的 `ifcfg-eth0` 文件,但网络配置却未能即时生效。此类问题的发生通常源于 CentOS 7 采用了不同于以往的配置读取方法。接下来将具体阐述如何借助 nmcli 命令来处理这一挑战。 以 root 用户身份登录系统并打开终端界面。nmcli 是 Network Manager 提供的命令行界面工具,它支持在命令行环境下执行网络连接的建立、编辑、查询及管理任务。针对修改 eth0 网卡配置的需求,可以遵循以下步骤进行操作: 1. 导航至 `/etc/sysconfig/network-scripts` 目录: ``` cd /etc/sysconfig/network-scripts ``` 2. 检查该目录内是否存在 `ifcfg-eth0.bak` 文件,该备份文件可能是先前调整配置时遗留下来的,若存在可能造成冲突。若发现该文件,可以选择将其删除: ``` [root@localhost netw...
代码转载自:https://pan.quark.cn/s/46fd08fb879c 网管教程 从入门到精通软件篇 ★一。★详尽的xp修复控制台指令及其应用!!! 放入xp(2000)的光盘,安装时选择R,执行修复! Windows XP(涵盖 Windows 2000)的控制台指令是在系统遭遇某些意外状况时的一种极具效用的诊断、检测以及恢复系统功能的工具。笔者确实一直期望能够将这方面的指令进行归纳,此次由老范辛苦整理了这份极具价值的秘籍。 Bootcfg bootcfg 命令用于启动配置与故障恢复(对大多数计算机而言,即 boot.ini 文件)。 带有特定参数的 bootcfg 命令仅在运用故障恢复控制台时方可使用。能够在命令行界面下运用带有不同参数的 bootcfg 命令。 用法: bootcfg /default 设定默认引导选项。 bootcfg /add 向引导清单中增添 Windows 安装。 bootcfg /rebuild 重复整个 Windows 安装流程并让用户选择需添加的项目。 注意:运用 bootcfg /rebuild 之前,应先借助 bootcfg /copy 命令备份 boot.ini 文件。 bootcfg /scan 探查用于 Windows 安装的全部磁盘并展示结果。 注意:这些结果被静态存储,并用于当前会话。若在当前会话期间磁盘配置发生变动,为获取更新的探查结果,必须先重启计算机,然后再次探查磁盘。 bootcfg /list 列示引导清单中已有的项目。 bootcfg /disableredirect 在启动引导程序中禁用重定向。 bootcfg /redirect [ PortBaudRrate] |[ useBio...

62,269

社区成员

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

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

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

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