三层框架问题,求解决!_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:08:09
Original
1276 people have browsed it

<frameset rows="177,*,150" frameborder="no" border="0" framespacing="0">  <frame src="menu.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />  <frame src="main.html" name="mainFrame" scrolling="no" id="mainFrame" title="mainFrame" />  <frame src="footer.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" /></frameset>
Copy after login


这样的话中间那个页面并不能完全显示出来,我又不想设置中间页面有滚动条,该如何设置中间的main.html能完全显示出来呢?实现当main.html变高了,会自动把最后那个footer.html挤下去呢?


回复讨论(解决方案)

把mainFrame的height属性设置为 100%

不知道哪里设啊,我点了DW右下角那个框架的mainFrame,就是中间框,但看它属性栏中并没有设高度的属性呢,如果在语句里设,又该怎么设呢?

动态设置mainFrame的height

我也碰到这个问题,有谁知道解决方法的请 来指教一下,说的详细一点,谢谢

rows="177,*,150"
既然中间已经是*,就可以自动了。
在同一个页面里显示三个框架,内容也不可能完全显示吧,难道今后一点都不增加吗?

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!