Definition and Usage The scrolling attribute specifies the scrollbar rules for the frame. By default, scrollbars appear if the frame conten...
Definition and Usage
The scrolling attribute specifies the scrollbar rules for the frame.
By default, scrollbars appear if the frame content is larger than the frame.
Syntax
<frame scrolling="scrolling" /> |
Syntax Example
<frame scrolling="yes" /> |
Attribute Values
Value | Description |
auto | Default. Scrollbars appear if needed. |
yes | Scrollbars are always shown, even if they are not needed. |
no | Scrollbars are never shown, even if they are needed. |
Browser Support
The attribute is supported in all major browsers.
Example
<html>
<frameset cols="50%,50%">
<frame src="frame_a.htm" scrolling="no" />
<frame src="frame_b.htm" scrolling="yes" />
</frameset>
</html> |