Difference between revisions of "Template:Center"
From LIMSWiki
Jump to navigationJump to searchShawndouglas (talk | contribs) (Updated.) |
(No difference)
|
Revision as of 02:23, 30 May 2013
This is a simple template to center align content.
Example
{{Center|Hello world!}} yields
This is a simple template to center align content.
Example
{{Center|Hello world!}} yields Template loop detected: Template:Center
To do this without a template, simply use the following code:
<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">your text</div>
To do this without a template, simply use the following code:
<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">
your text</div>