Solution to setting the height of the frameset UI deformation _ HTML/Xhtml _ webpage Creation

Source: Internet
Author: User
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:




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.