Attributes for <IFRAME ...>
MARGINWIDTH = integer
MARGINHEIGHT = integer
| Usage Recommendation |
don't use it  |
MARGINWIDTH and MARGINHEIGHT
work much the same as their
frame counterparts. MARGINWIDTH and MARGINHEIGHT
control the inner margins of the frame.
| this code |
produces this |
<IFRAME
SRC="BeaverHabitat.html"
WIDTH=250 HEIGHT=250
MARGINWIDTH=1
MARGINHEIGHT=1
>
<A HREF="BeaverHabitat.html">Stuff
about the Beaver</A>
</IFRAME>
| |
<IFRAME
SRC="BeaverHabitat.html"
WIDTH=250 HEIGHT=250
MARGINWIDTH=30
MARGINHEIGHT=30
>
<A HREF="BeaverHabitat.html">Stuff
about the Beaver</A>
</IFRAME>
| |
These are good attributes to avoid. It's much better to let the browsers
display the frame margins as they deem best.
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.
|