Template:Center: Difference between revisions
m (rmv extra "space") |
m (1 revision) |
(One intermediate revision by the same user not shown) | |
(No difference)
|
Latest revision as of 22:32, 1 December 2014
{{{1}}}
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>