Template:Center/doc

Everything About Fiction You Never Wanted to Know.
Revision as of 18:22, 6 February 2014 by Looney Toons (talk | contribs) (→‎Example: edited documentation to remove reliance on templates not on ATT.)


This is a simple template to center align content in tables and other places.

Example

 {{Center|Hello world!}}

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>

See also