Template:Border box: Difference between revisions
mNo edit summary |
m add shift parameter to allow moving boxes to one side or another |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <div style=" | ||
border: {{{borderSize|1px}}} {{{borderStyle|solid}}} {{{borderColor|black}}}; | |||
margin: {{{margin|0.25em}}}; | |||
padding: {{{padding|0.25em}}}; | |||
text-align: {{{align|left}}}; | |||
width: {{{width|auto}}}; | |||
{{#if: {{{backgroundColor|}}} | background-color: {{{backgroundColor}}}; }} | |||
{{#if: {{{shift|}}} | float: {{{shift}}}; clear: {{{shift}}}; }} | |||
">{{{1}}}</div> | |||