Jump to content

Template:MessageBox: Difference between revisions

No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<table class="message-box" style="border: {{{border|}}}; border-radius: {{{borderRadius|}}}; background-color: {{{backgroundColor|}}};">
<table class="message-box" style="
<td style="padding-right: 10px;">{{{imageSource|}}}</td>
  border: {{{border|1px solid}}};
<td style="font-family: {{{fontFamily|}}}; font-size: {{{fontSize|14px}}}">{{{text|}}}</td>
  border-radius: {{{borderRadius|4px}}};
  background-color: {{{backgroundColor|}}};
  width: 100%;
  margin: 0.5em 0;
  border-collapse: separate;
  border-spacing: 0;
">
<tr>
<td style="
  padding: 8px 10px 8px 8px;
  vertical-align: top;
  width: auto;
">{{{imageSource|}}}</td>
<td style="
  padding: 8px;
  font-family: {{{fontFamily|inherit}}};
  font-size: {{{fontSize|14px}}};
  line-height: 1.4;
  width: 100%;
">{{{text|}}}</td>
</tr>
</table>
</table>