Attributes for <IFRAME ...>
VSPACE
HSPACE

VSPACE sets the vertical distance between the text and the inline frame. HSPACE sets the horizontal space between the text and the frame. These attributes are most commonly used in conjunction with ALIGN to set the distance of wrapped text from the frame.

this code produces this
<IFRAME 
SRC="BeaverHabitat.html" 
WIDTH=150 HEIGHT=150 
ALIGN=LEFT
HSPACE=5 VSPACE=5
>
<A HREF="BeaverHabitat.html">Stuff 
about the Beaver</A>
</IFRAME>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim audra minim veniam, quis nostrud exerci tution ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis te feugifacilisi. Duis te feugifacilisi. Duis autem dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et usto odio dignissim qui blandit praesent luptatum zzril delenit au gue duis dolore te feugat nulla facilisi.
<IFRAME 
SRC="BeaverHabitat.html" 
WIDTH=150 HEIGHT=150 
ALIGN=LEFT
HSPACE=30 VSPACE=30
>
<A HREF="BeaverHabitat.html">Stuff 
about the Beaver</A>
</IFRAME>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim audra minim veniam, quis nostrud exerci tution ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis te feugifacilisi. Duis te feugifacilisi. Duis autem dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et usto odio dignissim qui blandit praesent luptatum zzril delenit au gue duis dolore te feugat nulla facilisi.
<IFRAME 
SRC="BeaverHabitat.html" 
WIDTH=150 HEIGHT=150 
ALIGN=LEFT
>
<A HREF="BeaverHabitat.html">Stuff 
about the Beaver</A>
</IFRAME>
This inline frame doesn't use VSPACE or HSPACE. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim audra minim veniam, quis nostrud exerci tution ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis te feugifacilisi. Duis te feugifacilisi. Duis autem dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et usto odio dignissim qui blandit praesent luptatum zzril delenit au gue duis dolore te feugat nulla facilisi.





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.