61,115
社区成员
发帖
与我相关
我的任务
分享
<html>
<head>
<title>-------</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
.style2 {color: #FFFFFF;}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.cell {
float:left;
clear:right;
}
.navPoint {
color: white;
cursor: hand;
font-family: Webdings;
width:10px;
font-size: 12px;
}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
-->
</style>
<script>
function switchSysBar(){
if (document.getElementById("frmTitle").style.display=="block"){
document.getElementById("switchPoint").innerText=4;
document.getElementById("frmTitle").style.display="none";
}
else{
document.getElementById("switchPoint").innerText=3;
document.getElementById("frmTitle").style.display="block";
}
}
</script>
<body>
<table border="0" cellPadding="0" cellSpacing="0" style="height: 100%" width="100%">
<tr>
<td>
<iframe frameBorder="0" id="frmTitle" name="frmTitle" src="leftmenu.aspx" style="height: 100%; visibility: inherit; width: 192px; z-index: 2; display:block" scrolling="auto"></iframe>
</td>
<td style="width:12px;">
<table style="height: 100%" border="0" cellPadding="0" cellSpacing="0" bgcolor="#CCCCCC">
<tr>
<td style="height: 100%" onClick="switchSysBar()"><font style="FONT-SIZE: 9pt; CURSOR: default; COLOR: #ffffff">
<br>
<span class="navPoint" id="switchPoint" title="关闭/打开左栏">3</span>
<br>
</font></td>
</tr>
</table>
</td>
<td style="WIDTH: 100%">
<iframe frameBorder="0" id="main" name="main" scrolling="yes" src="rightmain.aspx" style="height: 100%; visibility: inherit; width: 100%; z-index: 1;"></iframe></td>
</tr>
</table>
</body>
</html>
<!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=gb2312" />
<title>JavaScriptLab</title>
<style type="text/css">
<!--
body{margin-left:0px;margin-top:10px;margin-right:0px;margin-bottom:10px;}
<!--我是通过设置标签的margin-left、margin-right来居中的-->
#div{margin-left:auto;margin-right:auto;width:76%;}
#pbody{border:#88cee9 1px solid;padding:15px;}
-->
</style></head>
<body>
<div id="div">
<div id="pbody">
<br/>我这里测试没问题...<br/><br/><br/>
</div>
</div>
</body>
</html>