Template:ScrollBox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added dividing rule)
(allow scroll override)
Line 1: Line 1:
<noinclude>
<noinclude>
Use this to rein in the KV, I and O lists on entity pages.
Use this to rein in the KV, I and O lists on entity pages.
{{tip|If you've got a short ScrollBox containing a long one, set <code>noscroll</code> on the shorter of the pair to avoid having two scroll bars right next to each other.}}


</noinclude><p style="font-style:italic;border-bottom:1px solid #DFDFDF;">{{{title}}}:</p>
</noinclude><p style="font-style:italic;border-bottom:1px solid #DFDFDF;">{{{title}}}:</p>
<div style="margin-left:1em;padding:0 .5em;max-height:30em;overflow:auto;">
<div style="margin-left:1em;padding:0 .5em;max-height:30em;{{#if:{{{noscroll|}}} | | overflow:auto;">
{{{1}}}
{{{1}}}
</div>
</div>

Revision as of 09:02, 19 July 2009

Use this to rein in the KV, I and O lists on entity pages.

Tip.pngTip:If you've got a short ScrollBox containing a long one, set noscroll on the shorter of the pair to avoid having two scroll bars right next to each other.

{{{title}}}:

{{{1}}}