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) (faint bottom divider) |
TomEdwards (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
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<nowiki>=</nowiki>true</code> on the shorter of the pair to avoid having two | {{tip|If you've got a short ScrollBox containing a long one, set <code>noscroll<nowiki>=</nowiki>true</code> on the shorter of the pair to avoid having two scrollbars right next to each other.}} | ||
{{tip|If the scrollbar on your ScrollBox starts to get lost, set <code>bottom-border<nowiki>=</nowiki>true</code> to add a faint rule after it.}} | |||
</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="border-bottom:1px solid #EFEFEF;margin-left:1em;padding:0 .5em;{{#if:{{{noscroll|}}} | | max-height:30em;}}overflow:auto;"> | <div style="{{#if:{{{bottom-border|}}} | 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:38, 19 July 2009
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.{{{title}}}:
{{{1}}}