Jump to content

Help:Scrolling list

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Uzma Gamal (talk | contribs) at 16:16, 5 December 2012. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A scrolling list is a series of items contained in a graphical user interface (GUI) that allows the text to be moved up, down, or across a display screen by moving a scrollbar, with new text appearing on the screen as old text disappears. Although MOS:SCROLL disfavors scrolling lists in article space because article content should be accessible on a variety of devices whereas a scrolling list hides some text, a scrolling list may be used in project namespace, such as at AfD, and other Wikipedia namespaces. For example, long lists posted at WP:AfD may be revised to be a scrolling list where it would make the AfD discussion easier to read. Tall images, wide templates, and category content tables also may be scrolled.

How to create a scrolling list

The code

<div style="height:10em; overflow:auto; border: 2px solid #088">
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
</div>

results in the scrolling list:

Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here
Page contents here

See also