Template:Scrollbox: Difference between revisions
Template page
More actions
I mixed them up |
I'M SILLY |
||
Line 1: | Line 1: | ||
{{#if: {{{non_mobile_width|}}}{{{non_mobile_height|}}} | {{#if: {{{non_mobile_width|}}}{{{non_mobile_height|}}} | ||
|<table class="nomobile" 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:{{{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="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:{{#if: {{{non_mobile_width|}}}|{{{non_mobile_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:{{{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:{{{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:{{{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:{{{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:45, 22 November 2024
{{{text}}} |