61,125
社区成员
发帖
与我相关
我的任务
分享
<%@ page language="C#" autoeventwireup="true" inherits="Left, App_Web_-o5fmbya" theme="Blue" %>
<!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 id="Head1" runat="server">
<title>xxxxxxx</title>
<style type="text/css">
.collapsePanel
{
background-color: white;
overflow: hidden;
width: 155px;
}
.collapsePanelHeader
{
width: 100%;
height: 28px;
background-repeat: repeat-x;
color: #FFF;
font-weight: bold;
}
</style>
<script type="text/javascript" language="javascript">
function screenH()
{
if(window.screen.width == 800 && window.screen.height == 600)
{
document.getElementById("outDiv").style.height =276;
}
else if(window.screen.width == 1024&& window.screen.height == 768)
{
document.getElementById("outDiv").style.height =444;
}
else if (window.screen.width==1280 && window.screen.height==800)
{
document.getElementById("outDiv").style.height=480;
}
else if (window.screen.width==1440 && window.screen.height==900)
{
document.getElementById("outDiv").style.height=580;
}
else if (window.screen.width==1280 && window.screen.height==1024)
{
document.getElementById("outDiv").style.height=704;
}
}
</script>
</head>
<body style="margin-top: 0px; margin-left: 0px; background-color: #1873a8;" onload="return screenH()">
<form id="form2" runat="server" target="_parent">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div style="height: 53px; margin-top: -26px; margin-left: 4px; background-image: url('App_Themes/Blue/Images/top1.jpg');
width: 165px; background-repeat: no-repeat;">
</div>
注意下面的二个大的div ,第一个是 id="outDiv" ,第二个是id = "bottom"
<div id="outDiv" style="margin-top: 0px;margin-bottom: 0px; margin-left: 6px; background-color: White;
background-position: bottom; background-repeat: no-repeat; padding-bottom: 0px; padding-top: 0px; width: 163px;">
<asp:Panel ID="PCaption01" runat="server" CssClass="collapsePanelHeader" Height="23px">
<div style="cursor: pointer; vertical-align: middle; line-height: 23px; width: 150px;
height: 23px">
<div style="float: left; width: 17px; height: 16px; margin-left: 6px; margin-top: 4px">
</div>
<div style="float: left;">
<font color="white"> bbbbbbb</font></div>
</div>
</asp:Panel>
<asp:Panel ID="PBody01" runat="server" CssClass="collapsePanel" Height="0">
<table style="width: 151px; height: 100%; border-right-color: #A5D1EC; border-right-style: solid;
border-right-width: 2px;">
<tr id="trSqbtb" runat="server">
<td style="width: 15%" align="right" valign="middle">
<img src="Images/Arrow.gif" style="width: 10px; height: 10px" />
</td>
<td style="width: 80%" align="left" valign="middle">
<asp:HyperLink ID="HyperLink1" runat="server" CssClass="MenuLink" NavigateUrl="~/RTypeList.aspx?Type=RequestInfo"
Target="mainFrame">bbbbb</asp:HyperLink>
</td>
</tr>
</table>
</asp:Panel>
<ajaxToolkit:CollapsiblePanelExtender ID="cpe01" runat="Server" TargetControlID="PBody01"
ExpandControlID="PCaption01" CollapseControlID="PCaption01" Collapsed="True"
ImageControlID="Img01" ExpandedImage="~/Images/Arrow-Up.png" CollapsedImage="~/Images/Arrow-Down.png"
SuppressPostBack="true" SkinID="CollapsiblePanelDemo" />
...............................................................................
</div>
<div id = "bottom" style="margin-top: 0px; margin-left:6px; background-color: White; background-position: bottom;
background-image: url('App_Themes/Blue/Images/main_58.gif'); width: 163px; background-repeat: no-repeat;position: absolute;bottom:0; ">
<table width="163px" style="">
<tr>
<td align="center">
<font color="white">版本:2009 V1.0</font>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>