Scroll

From Frontal Wiki

Jump to: navigation, search

Contents

Purpose

This style specifies whether a scroll bar should be rendered for the element.


Value

Either "horizontal", "vertical", "both", "auto" or "none". The default value is "none".

scroll: auto;


Remarks

When a visual element's content rectangle is smaller than the dimensions of its visual children elements, then it is scrollable. This style determines what if any ation to take when this state is achieved.

If scroll is set to "none" then a scrollbar will not be shown.

If scroll is set to "auto" then a vertical scrollbar will be shown if the children dimensions are taller than the content rectangle. A horizontal scrollbar will be shown if the children dimensions are wider than the content rectangle.

If scroll is set to "horizontal", "vertical" or "both" then horizontal, vertical or both horizontal and vertical scrollbars will always be shown.

See Scrollbars and Scrolling a text Tag for more details and examples.


Example

This page is incomplete


Can Be Applied To

This style can be applied to any visual element:

Personal tools
Get Adobe Flash player