将页面即使是1024*768也只显示800*600

是这样的,在800600的格式下,页面能够很好的工作,但是
在1024
768下,很不好看,我想,将页面即使是1024768
也只显示800
600,请问可不可以实现啊,
呵呵,谢谢!
说明必须要使用,框架结果,别的就没什么要求了
---------------------------------------------------------------

 1<html>
 2<head>
 3<script language="javascript">   
 4function cc(){   
 5var hh = document.body.clientHeight;   
 6hh = hh > document.all.td1.clientHeight ? hh : document.all.td1.clientHeight;   
 7document.all.left.style.height = hh - document.all.td1.clientHeight;   
 8document.all.main.style.height = hh - document.all.td1.clientHeight;   
 9}   
10window.onresize=cc;   
11</script>
12</head>
13<body leftmargin="0" onload="cc()" topmargin="0"><center>
14<table align="center" border="0" cellpadding="0" cellspacing="0" width="780">
15<tr><td bgcolor="#ff0000" colspan="2" id="td1" width="780">
16<iframe frameborder="1" height="100" name="top" width="100%"></iframe>
17</td></tr>
18<tr>
19<td width="180">
20<iframe frameborder="1" height="100" name="left" width="100%"></iframe>
21</td>
22<td width="600">
23<iframe frameborder="1" height="100" name="main" width="100%"></iframe>
24</td>
25</tr>
26</table>
27</center></body></html>

---------------------------------------------------------------

Published At
Categories with Web编程
comments powered by Disqus