Attribute for <IFRAME ...>
SCROLLING = YES | NO | AUTO

Usage Recommendation
don't use it thumbs down

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.





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.