Difference between revisions of "Template:Message"

From Sugar Labs
Jump to navigation Jump to search
(test with span vs div)
(Undo revision 59967 test failed)
Line 1: Line 1:
<span class="messagebox {{{class|}}}" style="background-color: {{{bgcolor|#def3fe}}}; border: 1px solid {{{bdcolor|#c4c295}}}; color: {{{fgcolor|black}}}; padding: 5px; margin: 1ex 0; min-height: {{{imgwidth|35}}}px; padding-left: {{#expr:{{{imgwidth|35}}}+10}}px; {{{style|}}}">
+
<div class="messagebox {{{class|}}}" style="background-color: {{{bgcolor|#def3fe}}}; border: 1px solid {{{bdcolor|#c4c295}}}; color: {{{fgcolor|black}}}; padding: 5px; margin: 1ex 0; min-height: {{{imgwidth|35}}}px; padding-left: {{#expr:{{{imgwidth|35}}}+10}}px; {{{style|}}}">
<span style="float: left; margin-left: -{{#expr:{{{imgwidth|35}}}+5}}px;">[[Image:{{{image|favorite-star.png}}}|link=|{{{imgwidth|35}}}px]]</span>
+
<div style="float: left; margin-left: -{{#expr:{{{imgwidth|35}}}+5}}px;">[[Image:{{{image|favorite-star.png}}}|link=|{{{imgwidth|35}}}px]]</div>
<span>{{{1}}}</span>
+
<div>{{{1}}}</div>
</span>
+
</div>

Revision as of 15:51, 4 December 2010

Favorite-star.png
{{{1}}}