HTML框架集垂直滚动不';你不在IE8上工作吗?
我需要用HTML做一个框架集,我发现垂直滚动在IE8上没有显示,但在Firefox中效果很好 为什么垂直滚动在IE上不起作用?我能为Firefox做些什么 代码如下:HTML框架集垂直滚动不';你不在IE8上工作吗?,html,scroll,frameset,Html,Scroll,Frameset,我需要用HTML做一个框架集,我发现垂直滚动在IE8上没有显示,但在Firefox中效果很好 为什么垂直滚动在IE上不起作用?我能为Firefox做些什么 代码如下: <frameset rows="121,*" cols="*" framespacing="3" frameborder="yes" border="3" bordercolor="#009933"> <frame src="arriba.html" name="topFrame" scrolling="NO
<frameset rows="121,*" cols="*" framespacing="3" frameborder="yes" border="3" bordercolor="#009933">
<frame src="arriba.html" name="topFrame" scrolling="NO" noresize >
<frameset rows="*" cols="135,*" framespacing="3" frameborder="yes" border="3" bordercolor="#009933">
<frame src="izquierda.html" name="leftFrame" scrolling="YES" noresize>
<frame src="centro.html" name="mainFrame" scrolling="YES" noresize>
</frameset>
</frameset>
来自izquierda.html和cenhtro.html的滚动=“是”不起作用。IE8在滚动=“是”时出现问题。改为使用css,应用于centro.html和izquierda.html的body标记:
<style type="text/css">
body {
overflow: scroll;
/* In IE and CSS 3 you can even use these: */
overflow-x: scroll; /* Horizontal */
overflow-y: scroll; /* Vertical */
}
</style>
身体{
溢出:滚动;
/*在IE和CSS 3中,您甚至可以使用这些:*/
溢出-x:滚动;/*水平*/
溢出y:滚动;/*垂直*/
}
我想我不需要补充,你根本不应该使用框架布局。@Karel Petranek:我在centos上工作。滚动条在mozila和chrome浏览器中不工作。你怎么能做到?