如何让框架集居中?并且根据窗口大小来显示
<frameset rows= "33%,67% " cols= "* frameborder= "no " border= "0 "
framespacing= "0 ">
<frameset rows= "* " cols= "16%,84% " framespacing= "0 " frameborder= "no "
border= "0 " bordercolor= "#FFFFFF "> <frame src= "../stockManage/left.jsp " name= "leftFrame " scrolling= "NO "
noresize=>
<frame src= "../stockManage/main.jsp " name= "mainFrame " scrolling= "yes "
noresize>
</frameset>
</frameset>
<noframes>
<body>
</body>
</noframes>
------解决方案--------------------我想你可以固定要显示的页面的宽度,然后两边用两个<frame>来填充相应的你想要的边页,比如可以如下:
<frameset rows= "50,33%,67%,50 " cols= "* frameborder= "no " border= "0 "
framespacing= "0 ">
<frame src="black.html" /> <frameset rows= "* " cols= "16%,84% " framespacing= "0 " frameborder= "no "
border= "0 " bordercolor= "#FFFFFF "> <frame src= "../stockManage/left.jsp " name= "leftFrame " scrolling= "NO "
noresize=>
<frame src= "../stockManage/main.jsp " name= "mainFrame " scrolling= "yes "
noresize>
</frameset>
<frame src="blank.html" /></frameset>
<noframes>
<body>
</body>
</noframes>
用空闲页面填充达到效果