答案:<table align=center height=100%><tr><td>
<div style="width:200 ;height:200;border:0
solid navy;overflow:auto;">
<br><br><br><br><Br><br><BR><BR>
<br><br><br><br><br><br><br><br><br>
</div>
</td></tr></table>
下面是常用的颜色及式样代码
<style type="text/css">
<!--
BODY{
scrollbar-face-color:white;
scrollbar-highlight-color:skyblue;
scrollbar-shadow-color:skyblue;
scrollbar-3dlight-color:white;
scrollbar-arrow-color:skyblue;
scrollbar-track-color:white;
scrollbar-darkshadow-color:white}
-->
</style>
其他:其实和html是一样的,需要加入frame 和 frameset
<frameset rows="64,*" cols="*" framespacing="0" frameborder="yes" border="0">
<frame src="top.jsp" name="topFrame" scrolling="NO" noresize >
<frame src="index2.jsp" name="mainFrame">
</frameset>
</frameset>
上一个:请教一个jsp连接数据库的代码的含义
下一个:jsp分页显示思路