HTML frame scrolling property
Examples
Always show a scrollbar frame:
<frameset cols="50%,50%">
<frame src="frame_a.htm" scrolling="yes">
<frame src="frame_b.htm">
</frameset>
<frame src="frame_a.htm" scrolling="yes">
<frame src="frame_b.htm">
</frameset>
try it"
Browser Support
8 and earlier versions of Internet Explorer, Firefox, Opera supports scrolling property.
Note: The version of Internet Explorer 9 and later no longer supports scrolling property.
Definition and Usage
HTML5 does not support the <frame> tag.
scrolling attribute specifies whether the <frame> scroll bar.
By default, if the content is greater than <frame>, a scroll bar will appear in the <frame> in.
grammar
<frame scrolling="auto|yes|no">
Property Value
值 | 描述 |
---|---|
auto | 在需要的时候显示滚动条(默认)。 |
yes | 始终显示滚动条(即使不需要)。 |
no | 从不显示滚动条(即使需要)。 |
HTML <frame> tag