Microsoft Internet Explorer introduced, in its last version, a new and very interesting feature to HTML - Floating Frames.
This feature enables you to create compound documents by placing frames of arbitrary sizes and in arbitrary positions of your HTML document.
To create a floating frame you use the IFRAME element, which has the following general format:
<IFRAME NAME=name SRC=url ALIGN=align-type></IFRAME>
This element inserts a floating frame in the current document and works pretty much the same as the IMG tag, used to insert graphics. This means you can use the ALIGN attribute, just as you do with IMG, to align the frame with the surrounding text.
Here's a simple example. With the following code in a HTML document:
<H4>Floating Frame Example</H4>
<P>
<IFRAME SRC="sample2.html" FRAMEBORDER=0 WIDTH=200 HEIGHT=75>
</IFRAME>
</P>
you would get this, but only if you're using Internet Explorer 3.0:
Floating Frame Example
Notice that this feature is not compatible with all browsers. Not even with Netscape Navigator 3.0! So, if your browser is not IE 3.0, you'll only see the text "Floating Frame Example".
As floating frames offer great possibilities to Web designers, we're sure that future versions of the most popular browsers will adopt this technique.