Home > Web Front-end > HTML Tutorial > What are the operations of de-bordering and borderless iframes?

What are the operations of de-bordering and borderless iframes?

php中世界最好的语言
Release: 2018-02-10 10:10:47
Original
3351 people have browsed it

This time I will bring you what are the operation methods of iframe de-border and borderless, and what are the precautions of iframe de-border and borderless operation. The following is a practical case, let’s take a look. one time.

<iframe src=”you page’s url” width=”100″ height=”30″ frameborder=”no” border=”0″ marginwidth=”0″ marginheight=”0″ scrolling=”no” allowtransparency=”yes”></iframe>
Copy after login
<iframe runat="server" src="you page&#39;s url" width="750" height="30" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
Copy after login


runat="server" This is best to add Iframe jumpasp.net Can jump in the current iframe
src link to the address URl
frameborder Whether to display borders (0 without borders, 1 with borders)
scrolling Whether there are scroll bars (yes with scroll bars, no without scroll bars)
allowtransparency Whether the background is transparent (yes transparent, no opaque)
iframe is not Very commonly used, rarely used in standard web pages. It is appropriate to interpret iframe as a "browser within a browser".
src : The path of the file, which can be an HTML file, text, ASP, etc.;
width, height: the width and height of the "inner frame" area;
scrolling: When the specified HTML file of SRC is in the specified When the area is not displayed, the scrolling option, if set to NO, the scroll bar will not appear; if it is Auto: the scroll bar will automatically appear; if it is Yes, it will be displayed;
FrameBorder: the width of the area border, in order to allow "Inner frame" blends with adjacent content, usually set to 0.
name: The name of the framework, used for identification.