Floating Frames
Floating Frames act as regular Frames, but can be
anywhere on the page. Internet Explorer (3.0 and above) is the only browser(s) that
support floating frames, and it's a shame because they can really create some nice
effects.
Another big difference between floating and normal frames is
that floating frames accept standard image attributes such as WIDTH and HEIGHT and HSPACE
, VSPACE and ALIGN attributes, to set the display size and alignment of the frame within
the document. They can have other files loaded into them exactly as normal frames (by use
of the TARGET attribute in the link and the NAME attribute of the frame).
<iframe src="float.htm"
name="float" width="50%" height="50%"
frameborder="5" hspace="10" vspace="10"
align="right">
| IFRAME |
Remember, this is for
Floating Frames and is only seen in Internet Explorer 3.0 and above. |
| |
SRC |
Page URL of the frame |
<iframe src="navigation.htm"> |
| |
NAME |
Sets the name of the frame for targets |
<iframe name="main"> |
| |
WIDTH |
Sets the width of the frame |
<iframe width="200"> |
| |
HEIGHT |
Sets the height of the frame |
<iframe height="50%"> |
| |
FRAMEBORDER |
Sets the amount of 3D look |
<iframe frameborder="0"> |
| |
SCROLLING |
Sets scrolling of the frame |
<iframe scrolling="no"> |
| |
HSPACE |
Sets horizontal spacing around the frame |
<iframe hspace="15"> |
| |
VSPACE |
Sets vertical spacing around the frame |
<iframe vspace="10"> |
| |
ALIGN |
Aligns the frame left or right |
<iframe align="right"> |
| Floating Frames support a
lot of the same attributes as Images, so learning is easy. |

Frames Introduction |
Laying Out, Naming, and Targeting Frames
Floating Frames (IE Only) | Frames Syntax - Quick Reference
Javascript & Frames | Frame
Tips
|