.net 框架集中的滚动条 我想在主页上作一个有top left main的框架top和left都是永远不动的而且滚动条要出现在整个页面上并不是仅仅出现在main上网上查了不少资料有说用js做的因为我初学者看不懂希望高手给说详细点 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 表述有点不太清楚刚就是top和left会随着整个滚动条动的就跟一个整体页面感觉一样的那种我新手所以很外行请大家见谅 top和left会随着整个滚动条动?????????如果你让Mian有滚动条不就行了、、 就是main上有滚动条但是不是整个网页的只是右下有滚动条 主页面------------------------<!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>无标题文档</title></head><body scroll="no"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="50" colspan="2" bgcolor="#CCCCCC">顶部页面</td> </tr> <tr> <td width="200" height="880" valign="top" bgcolor="#CCFFCC">左侧页面</td> <td valign="top"> <iframe src="main.html" height="100%" width="100%"></iframe> </td> </tr></table></body></html>--------------------------------mian页面的<!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>无标题文档</title></head><body><p>主页面 </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p><p> </p> <p> </p><p> </p> <p> </p><p> </p> <p> </p><p> </p> <p> </p><p> </p> <p> </p><p> </p> <p> </p><p> </p> <p> </p><p> </p> <p> </p></body></html>试试 那你用frame还有何意义呢.还不如不用框架,所有的都做在一起.一般唯避之不及的滚动条,你偏偏要加上. 用iframe也不行, 你怎样保证iframe的高度随着全局滚动条往下拖而不断增长.总之,我以为LZ的要求是"蛮横"的"不明就里"的. 异常详细信息: System.FormatException: 输入字符串的格式不正确。 视频播放时,如何实现进度记忆? 按钮前景色(送分) ============ 超级无敌大难题 ================= double类型计算后,精度为什么会发生改变,怪问题! xmlDoc.CreateNode和CreateElement的区别? 关于IIS的问题(超晕的一个问题) 初学urlrerite 这个递归如何写? 高分求解决登陆问题,急``急 设置gridview表头的时候出错,帮我看下代码? DateList的RepeatColumns属性为何失效?
就是top和left会随着整个滚动条动的
就跟一个整体页面感觉一样的那种
我新手
所以很外行
请大家见谅
如果你让Mian有滚动条不就行了、、
但是不是整个网页的
只是右下有滚动条
------------------------
<!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>无标题文档</title>
</head><body scroll="no">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="50" colspan="2" bgcolor="#CCCCCC">顶部页面</td>
</tr>
<tr>
<td width="200" height="880" valign="top" bgcolor="#CCFFCC">左侧页面</td>
<td valign="top">
<iframe src="main.html" height="100%" width="100%"></iframe>
</td>
</tr>
</table>
</body>
</html>--------------------------------
mian页面的
<!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>无标题文档</title>
</head><body>
<p>主页面
</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p><p> </p>
<p> </p><p> </p>
<p> </p><p> </p>
<p> </p><p> </p>
<p> </p><p> </p>
<p> </p><p> </p>
<p> </p><p> </p>
<p> </p><p> </p>
<p> </p>
</body>
</html>试试