Introduction to the usage of IFrame framework_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:52:55
Original
1073 people have browsed it

Needless to say.

Width is the width of the inserted page; height is the height of the inserted page; scrolling is whether to display the page scroll bar (optional parameters are auto, yes, no, if this parameter is omitted, the default is auto); frameborder border size ;

Note: It is recommended to use absolute paths for URLs

Legend has it:

Then modify the default opening mode: web page Add to HEAD or set the target frame of the partial connection to (**)

Example 3.

To insert a page. Ask to take only the middle part. Don't want anything else. ,. .

Code:

Control the depth of the inserted page covered by the frame marginwidth=0 marginheight=0; control the depth of the upper part covered by the frame vspace=-170

Whether scrolling scroll bar is required (auto, yes, no) The border size of the frameborder frame, width=776 height=2500 The size of this frame.

1. Add iframe to the page

,

scrolling Indicates whether to display the page scroll bar. The optional parameters are auto, yes, and no. If this parameter is omitted, the default is auto.

2. The hyperlink points to the embedded web page. Just name the iframe. The method is , then, the hyperlink statement on the web page should be written as:

3. If frameborder is set to 1, the effect will be like a text box

Usage of transparent IFRAME

It must be supported by IE5.5 or above

In the tag of the transparentBody.htm file, I have added style= "background-color=transparent" Through the following four ways of writing IFRAME, I think you should have a clear understanding of how to achieve the iframe background transparency effect:

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