Template:Cmbox/sandbox: Difference between revisions
Appearance
Content deleted Content added
Back to margin: -1px both top and bottom, last two tests seriously broke box flow in Opera 9 and IE 5.5, weird. |
Removing the ambox classes, since we are anyway overriding them almost totally now. |
||
Line 1: | Line 1: | ||
<table class="metadata plainlinks |
<table class="metadata plainlinks" style="margin: -1px 10%; border: 1px solid #aaa; background: #fbfbfb; |
||
{{#switch:{{{type|}}} |
{{#switch:{{{type|}}} |
||
| speedy = margin: 1px 10%; border: 4px solid #b22222; background: #FFDBDB; |
| speedy = margin: 1px 10%; border: 4px solid #b22222; background: #FFDBDB; |
||
Line 11: | Line 11: | ||
}} {{{style|}}}"> |
}} {{{style|}}}"> |
||
<tr> |
<tr> |
||
<td |
<td style="border:none; padding: 2px 0px 2px 0.5em; text-align: center;"> |
||
{{#ifeq:{{{image|}}}|none |
{{#ifeq:{{{image|}}}|none |
||
| <!-- No image cell. Empty cell necessary for text cell to have 100% width --> |
| <!-- No image cell. Empty cell necessary for text cell to have 100% width --> |
||
Line 26: | Line 26: | ||
}}</div> |
}}</div> |
||
}}</td> |
}}</td> |
||
<td |
<td style="border:none; padding: 0.25em 0.5em; width: 100%; {{{textstyle|}}}">{{{text}}}</td> |
||
{{#if:{{{imageright|}}} |
{{#if:{{{imageright|}}} |
||
| <td |
| <td style="border: none; padding: 2px 0.8em 2px 0px; text-align: center;"> {{{imageright}}} </td> |
||
}} |
}} |
||
</tr> |
</tr> |
Revision as of 20:32, 8 May 2008
{{{text}}} |
This is the template sandbox page for Template:Cmbox (diff). See also the companion subpage for test cases. |