Attribute for <IFRAME ...>
SCROLLING = YES | NO | AUTO
| Usage Recommendation |
don't use it  |
SCROLLING indicates if there should be scroll bars in the frame.
YES forces the frame to have a scroll bar, even if one isn't needed,
NO forces the frame to not have a scroll bar, even if one
isn't needed. AUTO (the default) indicates that the browser
should decide for itself.
| this code |
produces this |
<IFRAME
SRC="iframescrollyes.php"
WIDTH=250 HEIGHT=150
SCROLLING=YES
>
<A HREF="iframescrollyes.php">A
link to the page</A>
</IFRAME>
| | |
<IFRAME
SRC="iframescrollno.php"
WIDTH=250 HEIGHT=150
SCROLLING=NO
>
<A HREF="iframescrollno.php">A
link to the page</A>
</IFRAME>
| | |
<IFRAME
SRC="iframescrollauto.php"
WIDTH=250 HEIGHT=150
SCROLLING=AUTO
>
<A HREF="iframescrollauto.php">A
link to the page</A>
</IFRAME>
| | |
<IFRAME
SRC="iframescrollauto.php"
WIDTH=250 HEIGHT=150
>
<A HREF="iframescrollauto.php">A
link to the page</A>
</IFRAME>
| | (not using SCROLLING at all is the same as
AUTO ) |
As with so many issues in HTML, it's best to trust the browser. AUTO is the "trust the browser" choice, and because it's the default just leave the whole attribute out.
Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.
|