Jump to content

Template:Collapse top: Difference between revisions

convert proportional space to proportional units; we should not be using px for anything but thin borders (and even that's not a best practice).
m>NeilN
(Reverted to revision 782845890 by Jc86035 (talk): Rv possible breakage. (TW))
m>SMcCandlish
(convert proportional space to proportional units; we should not be using px for anything but thin borders (and even that's not a best practice).)
Line 1: Line 1:
<div style="margin-left:{{{indent|0px}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section -->
<div style="margin-left:{{{indent|0}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section -->
{| <!-- Template:Collapse top --> class="mw-collapsible {{{{{|safesubst:}}}#if:{{{expand|}}}||mw-collapsed}}" style="background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin: 0.2em auto auto; width:{{{{{|safesubst:}}}#if:{{{width|}}}|{{{width}}}|100%}}; clear: {{{clear|both}}}; padding: 1px;"
{| <!-- Template:Collapse top --> class="mw-collapsible {{{{{|safesubst:}}}#if:{{{expand|}}}||mw-collapsed}}" style="background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin: 0.2em auto auto; width:{{{{{|safesubst:}}}#if:{{{width|}}}|{{{width}}}|100%}}; clear: {{{clear|both}}}; padding: 1px;"
|-
|-
Line 7: Line 7:
{{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is a closed debate. {{strongbad|Please do not modify it.}} }}} }}
{{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is a closed debate. {{strongbad|Please do not modify it.}} }}} }}
|-
|-
| style="border: solid {{{border2|1px silver}}}; padding: {{{padding|8px}}}; background: {{{bg2|white}}};" {{{{{|safesubst:}}}!}}<noinclude>
| style="border: solid {{{border2|1px silver}}}; padding: {{{padding|0.6em}}}; background: {{{bg2|white}}};" {{{{{|safesubst:}}}!}}<noinclude>
{{lorem ipsum|3}}
{{lorem ipsum|3}}
{{Collapse bottom}}
{{Collapse bottom}}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.