Template:Center/doc

From LIMSWiki
< Template:Center
Revision as of 02:26, 30 May 2013 by Shawndouglas (talk | contribs) (Created.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


This is a simple template to center align content.

Example

{{Center|Hello world!}} yields

Hello world!


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>