Template:ScrollBox: Difference between revisions
Jump to navigation
Jump to search
Tip:If you've got a short ScrollBox containing a long one, set
Tip:If the scrollbar on your ScrollBox starts to get lost, set
TomEdwards (talk | contribs) m (for user stylesheets) |
(Removed margin and padding, it was too confusing in nested scrollboxes.) |
||
Line 7: | Line 7: | ||
</noinclude>{{#if:{{{title|}}} | <p style="font-style:italic;border-bottom:1px solid #DFDFDF;">{{{title}}}:</p> }} | </noinclude>{{#if:{{{title|}}} | <p style="font-style:italic;border-bottom:1px solid #DFDFDF;">{{{title}}}:</p> }} | ||
<div class="scrollbox" style="{{#if:{{{bottom-border|}}} | border-bottom:1px solid #EFEFEF;}} | <div class="scrollbox" style="{{#if:{{{bottom-border|}}} | border-bottom:1px solid #EFEFEF;}}{{#if:{{{noscroll|}}} | | max-height:30em;}}overflow:auto;"> | ||
{{{1}}} | {{{1}}} | ||
</div> | </div> |
Revision as of 08:57, 3 May 2011
Use this to rein in the KV, I and O lists on entity pages.

noscroll=true
on the shorter of the pair to avoid having two scrollbars right next to each other.
bottom-border=true
to add a faint rule after it.
{{{1}}}