Template:Scrollbox: Difference between revisions
Template page
More actions
m increased right padding |
non_mobile parameter implementation |
||
Line 1: | Line 1: | ||
<table cellpadding="0" cellspacing="0" border="0" style="width:{{{width|100%}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div style="overflow:auto; height:{{{height|230px}}}; width:{{{width|100%}}}; -moz-border-radius-topleft:0.5em; border:1px solid #AAAAAA; padding-left:0.5em; padding-right:0.5em; background:transparent;">{{{text}}}</div></td><td style="width:8px;"></td></tr></table> | {{#if: {{{non_mobile_width|}}}{{{non_mobile_height|}}} | ||
|<table class="nomobile" cellpadding="0" cellspacing="0" border="0" style="width:{{{width|100%}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div style="overflow:auto; height:{{{height|230px}}}; width:{{{width|100%}}}; -moz-border-radius-topleft:0.5em; border:1px solid #AAAAAA; padding-left:0.5em; padding-right:0.5em; background:transparent;">{{{text}}}</div></td><td style="width:8px;"></td></tr></table> | |||
<table class="mobileonly" cellpadding="0" cellspacing="0" border="0" style="width:{{{non_mobile_width}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div style="overflow:auto; height:{{{non_mobile_height}}}; width:{{{non_mobile_width}}}; -moz-border-radius-topleft:0.5em; border:1px solid #AAAAAA; padding-left:0.5em; padding-right:0.5em; background:transparent;">{{{text}}}</div></td><td style="width:8px;"></td></tr></table> | |||
|<table cellpadding="0" cellspacing="0" border="0" style="width:{{{width|100%}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div style="overflow:auto; height:{{{height|230px}}}; width:{{{width|100%}}}; -moz-border-radius-topleft:0.5em; border:1px solid #AAAAAA; padding-left:0.5em; padding-right:0.5em; background:transparent;">{{{text}}}</div></td><td style="width:8px;"></td></tr></table>}} |
Revision as of 17:37, 22 November 2024
{{{text}}} |