Template:Ambox: Difference between revisions
(move vertical-align:middle;) |
m (move vertical-align:middle;) |
||
Line 13: | Line 13: | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td> | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td> | ||
| <td class="ambox-image"><div style="width: 52px | | <td class="ambox-image"><div style="width: 52px;"> | ||
{{#ifeq:{{{image|}}}|blank | {{#ifeq:{{{image|}}}|blank | ||
| | | | ||
Line 31: | Line 31: | ||
}}</div></td> | }}</div></td> | ||
}} | }} | ||
<td class="ambox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | <td class="ambox-text" style="{{{textstyle|}}}; vertical-align:middle;"> {{{text}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| <td class="ambox-imageright"><div style="width: 52px;"> {{{imageright}}} </div></td> | | <td class="ambox-imageright"><div style="width: 52px;"> {{{imageright}}} </div></td> |