แม่แบบ:Center/doc
หน้าตา
This is a simple template to align stuff to the center. To use this, place {{center|text}} on the desired page, replacing text with the desired content.
Example
[แก้ไข]Code | {{center|สวัสดี}} |
---|---|
Result | สวัสดี
|
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>
ดูเพิ่ม
[แก้ไข]- {{Center block}}
- {{align}}
- {{right}}, {{left}} and {{justify}}
- {{Image frame}}