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>
<iframe runat="server" src="you page's url" width="750" height="30" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
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".
<iframe frameborder=0 width=170 height=100 marginheight=0 marginwidth=0 scrolling=no src="move-ad.htm"></iframe>
SRC=URI The page file path of the embedded cabinet rack
NAME=CDATA The name of the embedded cabinet rack
LONGDESC=URI Description
WIDTH=Length width
HEIGHT=Length height
ALIGN=[ top | middle | bottom | left | right ] alignment
FRAMEBORDER=[ 1 | 0 ] cabinet frame border
MARGINWIDTH=Pixels left and right Vacant width
MARGINHEIGHT=Pixels The height of the upper and lower vacancies
SCROLLING=[ yes | no | auto ] flow bar (yes forced display|no never display|auto automatic)
The usage format of the Iframe tag is :
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.
border <iframe border="3"></iframe>
Set the edge width around the frame
frameboder <iframe frameboder="0"></iframe>
Set whether the border is 3D (0=no, 1=yes)
height,width <iframe height="31" width="88"></iframe>
Set the width and height of the border
scrolling <iframe scrolling="no"></iframe>
Whether there is a scroll bar (yes, no, auto)
src <iframe src="girl.gif"></iframe>
指定iframe调用的文件或图片(html,htm,gif,jpeg,jpg,png,txt,*.*)
注意事项:
一个浮动框架不需要通过