Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q2036 How do I create an inline frame?

irt.org | Knowledge Base | HTML | Q2036 [ previous next ]

Q2036 How do I create an inline frame?

An inline frame or a floating frame, is a frame inserted within a block of text.

The IFRAME element allows authors to insert a frame within a block of text, and it works much like inserting an object via the OBJECT element.

The following example will place an inline frame on a page surrounded by a border. For browsers, that does not support inline frames, a short message will be displayed:

<IFRAME src="data.htm" width="400" height="400" 
scrolling="auto" frameborder="1">
Your user agent does not support inline frames. 
You can visit <A HREF="data.htm">the related document</A>
</IFRAME>

Please note that, inline frames is currently only supported in Microsoft Internet Explorer 4+, and inline frames cannot be resized (ie. does not take the noresize attribute).

You can read more about floating frames in the article: HTML #4 - Advanced Page Layout, which has a very good chapter on floating frames.

Feedback on 'Q2036 How do I create an inline frame?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.