日期:2014-05-17  浏览次数:20639 次

frameset在IE9里面没有高度了
如题:附上图

和 源代码
HTML code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script LANGUAGE=javascript>
function closeme()
{
    var iWidth=300; //窗口宽度
    var iHeight=45;//窗口高度
    var iTop=(window.screen.height-iHeight)/2;
    var iLeft=(window.screen.width-iWidth)/2;
}
</script>
</head>
<frameset rows="90,*,30" cols="*" framespacing="0" frameborder="no" border="0" height="100%">
  <frame src="Top.aspx" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" />
  <frame src="Center.aspx" name="mainFrame" scrolling="NO" id="mainFrame" />
  <frame src="Down.aspx" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" />  
</frameset>
<noframes>
<body>
<p>此网页使用了框架,但您的浏览器不支持框架。</p>
</body>
</noframes>
</html>




各位大侠 请给个解决方案
页面只有一截了。。。。

------解决方案--------------------
rows="90px,*,30px"
或者
rows="20%,*,10%" 自己调调比较
------解决方案--------------------
<frameset rows="90,*,30" cols="20%,*" framespacing="0" frameborder="no" border="0" height="100%">

------解决方案--------------------
探讨
引用:

<frameset rows="90,*,30" cols="20%,*" framespacing="0" frameborder="no" border="0" height="100%">

额,还是不行呀。其实这里面TOP和Footer的显示的都是正确位置,但单独这个center 高度就那么一截、
对了。我没有说明,是不是center里……

------解决方案--------------------
探讨
引用:

引用:
引用:

<frameset rows="90,*,30" cols="20%,*" framespacing="0" frameborder="no" border="0" height="100%">

额,还是不行呀。其实这里面TOP和Foote……