After frameset is used, no problems have been found during development on the wide screen until a user uses a 800*600 sub-test. Currently, a project is created on the following page:
This is done using frameset. No problems have been found during development on the wide screen until a user uses a 800*600 sub-test.
At that time, the entire frameset page had only 600 pixels in height, and the frame nested in frameset had a scroll bar, which was really ugly. How can I set the height of a frameset to a high point so that the nested frame page does not have a scroll bar, And the frameset has a scroll bar?
The height of frameset cannot be set, for example:. At this time, the page is still the screen height, which is not PX; the height of the frame set body is also invalid. What should we do? I haven't found the answer after baidu for many days. This question has been put on hold. I also thought that the artist replaced the frameset with DIV + CSS, but I was afraid that there would be too much content to be involved. The workload may be very heavy and I had to leave it alone.
Inspiration is really strange. If you don't want to come, you can't stop it. Just a month later, today it suddenly came, and iframe came along. When I nested the frameset and set the height of the iframse page, the effect came out. The solution is shared with colleagues who have encountered the same problem and cannot solve it.
1、framesetpage (inner.html)
The Code is as follows:
<Br/>
2、iframepage (outer.html)
The key is to set the height of the page. If you want to set the height, you can set it as needed. In this case, the frameset will also be in this height.
The Code is as follows: