Template:Captioned: Difference between revisions

move margin: 5px 5px 5px 5px; to #default
m (change align to 3)
(move margin: 5px 5px 5px 5px; to #default)
Line 1: Line 1:
<div class="thumb {{#switch: {{{3|}}} | left = tleft | center|centre = tnone | right|#default = tright}}" style="position: relative; z-index: 100; {{#switch: {{{3|}}} | center | centre = margin: 0 auto;}}
<div class="thumb {{#switch: {{{3|}}} | left = tleft | center|centre = tnone | right|#default = tright}}" style="position: relative; z-index: 100; {{#switch: {{{3|}}} | center | centre = margin: 0 auto; |#default = margin: 5px 5px 5px 5px;}}
border: 1px solid #ccc;
border: 1px solid #ccc;
width: {{{2}}};
width: {{{2}}};
margin: 5px 5px 5px 5px;
padding: 5px;
padding: 5px;
"> <!-- background-color: #ddd; -->
"> <!-- background-color: #ddd; -->
90,866

edits