Template:Scrollbox: Difference between revisions
Template page
More actions
m increased right padding |
m questionable width stuff? |
||
(3 intermediate revisions by the same user not shown) | |||
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:{{#if: {{{non_mobile_width|}}}|{{{non_mobile_width}}}|{{{width|100%}}}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div style="overflow:auto; height:{{#if: {{{non_mobile_height|}}}|{{{non_mobile_height}}}|{{{height|230px}}}}}; 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:{{{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 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: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>}} |
Latest revision as of 15:47, 24 August 2025
{{{text}}} |