Three-layer framework problem, please solve it! _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:08:09
Original
1320 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


In this case, the middle page cannot be fully displayed, and I don’t want to set the middle page to have a scroll bar. How can I set the middle main.html to be fully displayed? How to realize that when main.html becomes taller, the last footer.html will be automatically squeezed down?


Reply to discussion (solution)

Set the height attribute of mainFrame to 100%

I don’t know where to set it, I click The mainFrame of the frame in the lower right corner of the DW is the middle frame, but there is no attribute for setting the height in its attribute bar. If it is set in the statement, how should it be set?

Dynamically set the height of mainFrame

I also encountered this problem. If anyone knows the solution, please give me some advice and explain it in detail, thank you

rows=" 177,*,150"
Since there is already * in the middle, it can be done automatically.
If three frames are displayed on the same page, the content cannot be fully displayed. Will there not be more frames in the future?

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