Difference between revisions of "Template:Nmbox"
Jump to navigation
Jump to search
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <table | + | <table style="border:1px solid #AAA; border-collapse:collapse; clear:both; font-size:100%; margin: 0.5em 0"> |
<tr style="background:#EEF3E2"> | <tr style="background:#EEF3E2"> | ||
{{#if:{{{image|}}}{{{header|}}} | {{#if:{{{image|}}}{{{header|}}} | ||
− | | <th | + | | <th style="border:none; text-align:center; white-space:nowrap; padding:4px 1em; border-right:1px solid #aaa">{{{image|}}} {{{header|}}}</th> |
− | | <td | + | | <td style="border:none; padding:0; width:1px;"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --> |
}} | }} | ||
− | <td | + | <td style="border:none; padding:0.25em 0.9em; width:100%; background:#F6F9ED">{{{text|}}}</td> |
</tr></table> | </tr></table> |