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.html"
WIDTH=250 HEIGHT=150
SCROLLING=YES
>
<A HREF="iframescrollyes.html">A
link to the page</A>
</IFRAME>
| | |
<IFRAME
SRC="iframescrollno.html"
WIDTH=250 HEIGHT=150
SCROLLING=NO
>
<A HREF="iframescrollno.html">A
link to the page</A>
</IFRAME>
| | |
<IFRAME
SRC="iframescrollauto.html"
WIDTH=250 HEIGHT=150
SCROLLING=AUTO
>
<A HREF="iframescrollauto.html">A
link to the page</A>
</IFRAME>
| | |
<IFRAME
SRC="iframescrollauto.html"
WIDTH=250 HEIGHT=150
>
<A HREF="iframescrollauto.html">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.
|
|