Changes

Jump to navigation Jump to search
51 bytes added ,  19:15, 1 August 2012
reorder style elements in relation to CSS box model
Line 1: Line 1: −
<span class="messagebox {{{class|}}}" style="background-color:{{{bgcolor|#def3fe}}}; color: {{{fgcolor|black}}}; padding: 5px 0px; margin: 0ex 0; min-height: 35px; {{{style|}}}">{{{1}}}</span><noinclude>
+
<span class="messagebox {{{class|}}}" style="margin: 0ex 0; padding: 5px 6px; background-color:{{{bgcolor|#def3fe}}}; color: {{{fgcolor|black}}}; min-height: 35px; {{{style|}}}">{{{1}}}</span><noinclude>
 +
[[Category:Highlighting template|Highlight]]
    
==Usage==
 
==Usage==
 
Simple example:
 
Simple example:
   −
  <nowiki>* {{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.}}</nowiki>
+
  <nowiki>* {{Highlight|bgcolor=yellow|'''Proposed edit: '''Include some usage examples.}}</nowiki>
* {{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.}}
+
* {{Highlight|bgcolor=yellow|'''Proposed edit: '''Include some usage examples.}}
    
Disadvantages:
 
Disadvantages:
 
* <s>wiki formatting with *, #, :, etc. voids the styling, namely color.</s>
 
* <s>wiki formatting with *, #, :, etc. voids the styling, namely color.</s>
*: by removing the {{Code|&#60;noinclude&#62;example message to highlight&#60;/noinclude&#62;}} after the {{Code|<nowiki>{{{1}}}}</nowiki>}} in the template wikicode.
+
*: (This was fixed by removing the {{Code|&#60;noinclude&#62;example message to highlight&#60;/noinclude&#62;}} after the {{Code|<nowiki>{{{1}}}</nowiki>}} in the template wikicode.)
       
</noinclude>
 
</noinclude>

Navigation menu