Template:ScrollBox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (oops)
(faint bottom divider)
Line 5: Line 5:


</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;{{#if:{{{noscroll|}}} | | max-height:30em;}}overflow:auto;">
<div style="border-bottom:1px solid #EFEFEF;margin-left:1em;padding:0 .5em;{{#if:{{{noscroll|}}} | | max-height:30em;}}overflow:auto;">
{{{1}}}
{{{1}}}
</div>
</div>

Revision as of 11:27, 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=true on the shorter of the pair to avoid having two scroll bars right next to each other.

{{{title}}}:

{{{1}}}