Template:Captioned: Difference between revisions

add {{#switch: {{{align|}}} | center | centre = margin: 0 auto;}}
(add position: relative; z-index: 100;)
(add {{#switch: {{{align|}}} | center | centre = margin: 0 auto;}})
Line 1: Line 1:
<div class="thumb {{#switch: {{{3|}}} | left = tleft | center|centre = tnone | right|#default = tright}}" style="position: relative; z-index: 100;
<div class="thumb {{#switch: {{{3|}}} | left = tleft | center|centre = tnone | right|#default = tright}}" style="position: relative; z-index: 100; {{#switch: {{{align|}}} | center | centre = margin: 0 auto;}}
border: 1px solid #ccc;
border: 1px solid #ccc;
width: {{{2}}};
width: {{{2}}};
90,866

edits