局部内容滚动
转载请注明来源:https://www.cnblogs.com/hookjc/
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>局部内容滚动</title>
</head>
<body style="overflow:hidden;">
<table height="100%" width="100%" border="1">
<tr><td height="20px">标题不滚动</td></tr>
<tr><td width="100%">
<div id=divcontent style="overflow-y:auto;width:100%; height:100%;">
<table cellpadding="0" cellspacing="0" style="text-align:center; width="100%" border="1">
<tr><td>1</td><td>2</td><td>3</td></tr>//多添加一些数据就效果就出来了
</table>
</div>
</td></tr>
</table>
</body>
</html>