框架页显示问题
以下两张图片分别是在1440*900和1024*768的分辨率下显示的结果,请问我的代码哪里出错了呢?如何设置才能在1024的分辨率下也正常显示呢?1440*900
1024*768
代码:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>测试</title>
</head>
<frameset rows="165,*" cols="*" frameborder="0" framespacing="0">
<frame src="top.asp" name="topFrame" scrolling="auto" id="topFrame" title="topFrame" />
<frameset rows="*" cols="468,*" framespacing="0" border="0">
<frame src="../leftrw_sc_xx.asp" name="leftFrame" scrolling="auto" id="leftFrame" title="leftFrame" />
<frame src="../rwlist_sc_xx.asp" name="mainFrame" scrolling="auto" id="mainFrame" title="mainFrame" />
</frameset>
</frameset><noframes></noframes>
<body>
</body>
</html>
以下两张图片分别是在1440*900和1024*768的分辨率下显示的结果,请问我的代码哪里出错了呢?如何设置才能在1024的分辨率下也正常显示呢?1440*900
1024*768
代码:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>测试</title>
</head>
<frameset rows="165,*" cols="*" frameborder="0" framespacing="0">
<frame src="top.asp" name="topFrame" scrolling="auto" id="topFrame" title="topFrame" />
<frameset rows="*" cols="468,*" framespacing="0" border="0">
<frame src="../leftrw_sc_xx.asp" name="leftFrame" scrolling="auto" id="leftFrame" title="leftFrame" />
<frame src="../rwlist_sc_xx.asp" name="mainFrame" scrolling="auto" id="mainFrame" title="mainFrame" />
</frameset>
</frameset><noframes></noframes>
<body>
</body>
</html>
你的框架左页面宽度是468,分辨率是1440*900时,左边是468,右边是972,显示效果看起来没什么问题
可是分辨率是1024*768时,左边是468,右边是556,看起来效果就不好了.
可能试试用百分比,如<frameset rows="*" cols="30%,*" framespacing="0" border="0">