Creating Floating Frames

Microsoft introduced the concept of a floating frame with Internet Explorer 3. You can think of a floating frame as a smaller browser window that you can open in your main browser window—much like the picture-in-picture feature that comes with many television sets. The same as with regular frames, you can load any XHTML document you want into a floating frame. The primary difference is that floating frames can be placed anywhere on a page that you can place an image. In fact, you'll find the XHTML syntax for placing floating frames to be similar to that for placing an image.

You place a floating frame on a page by using the <iframe> element. A browser that can do floating frames ignores anything within this element, ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.