Home  >  Article  >  Web Front-end  >  Please ask. Can HTML use_frame_ achieve the following effects? If not, what can be used to replace the frame? Question details_html/css_WEB-ITnose

Please ask. Can HTML use_frame_ achieve the following effects? If not, what can be used to replace the frame? Question details_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:13:211103browse

The page I want to use a frame is a frame that is fixed at the top and nested on the left. But there are the following problems.

1. How to center the frame?
2. How to fix the size of the frame. So that it does not change with the change of resolution?
3. When you click on the left navigation bar, you are asked to change the upper navigation bar and the details on the right.

.... Please specify. How? Use a framework to implement it? What else can be used to implement it without a framework?

The overall framework uses webwork2. I am a newbie, please guide...


Reply to the discussion ( Solution)

You should say what to do.

This effect can be achieved using frames, but it is not recommended to use frames on the homepage of the website, as it will cause a lot of problems.

1. Use css on a single frame page to center the content of a single page
2. Try setting the height and width of the display page of the frame set (that is, the page that collects all frames).

If you are making a static page, just use HTML. If you want a dynamic page to achieve the effect of a frame, it seems that AJAX can replace it (you can ask this in another forum, the forum has an AJAX section).

Statement:
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