Template:Center/doc

From GC-Forever Wiki
Revision as of 23:51, 3 May 2013 by Cybertronic (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE END OF THIS PAGE. --> This is a simple template to center align content. === Example === {{markup |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


This is a simple template to center align content.

Example

Markup Renders as
{{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>

To center a table, see Help:TABLECENTER.