Template:Scroll box: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="overflow: auto"> | <div style="overflow: auto"> | ||
<table cellpadding="0" cellspacing="0" border="0" style="width:{{{width| | <table cellpadding="0" cellspacing="0" border="0" style="width:{{{width|98%}}}"><tr><td style="background:transparent;"><div style="overflow:auto; height:{{{height|300px}}}; width:{{{width|100%}}};-moz-border-radius:0.5em; border:3px solid #000000; background:none; padding:5px; overflow-x: auto;"> | ||
{{{content|{{{1}}}}}} | {{{content|{{{1}}}}}} | ||
</div></td></tr></table></div><noinclude>__NOTOC__ | </div></td></tr></table></div><noinclude>__NOTOC__{{Doc}}[[Category:Formatting Templates]]</noinclude> | ||
{{ | |||
}} | |||
[[Category:Formatting Templates]]</noinclude> |
Latest revision as of 04:09, October 7, 2024
{{{1}}} |
Usage instructions[edit source]
{{scroll box |content= }}
NOTE: An optional width variable can be used to control the width of the scroll box:
{{scroll box |width=75% |content= }}
Example[edit source]
Code[edit source]
{{scroll box |content= *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah }}
Result[edit source]
|
Alternative code[edit source]
{{scroll box| *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah }}
Result[edit source]
|