English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The scrolling attribute specifies whether to display a scrollbar in the <frame>. By default, if the content is larger than the <frame>, the scrollbar is displayed in the <frame>.
Frame A should always display the scrollbar:
<frameset cols="50%,50%"> <frame src="frame_a.htm" scrolling="yes"> <frame src="frame_b.htm"> </frameset>Test See ‹/›
IEFirefoxOperaChromeSafari
Internet Explorer 8 and earlier versions, Firefox, Opera all support the scrolling attribute.
Note:Internet Explorer 9 and later versions no longer support the scrolling attribute.
HTML5 The <frame> tag is not supported.
The scrolling attribute specifies whether to display a scrollbar within <frame>.
By default, if the content is greater than <frame>, the scrollbar is displayed within <frame>.
<frame scrolling="auto|yes|no">
Value | Description |
---|---|
auto | Display scrollbars when needed (default). |
yes | Always display scrollbars (even if not needed). |
no | Never display scrollbars (even if needed). |