Template:Pad/doc

From FORwiki

(Difference between revisions)
Jump to: navigation, search
(Usage)
 
Line 11: Line 11:
Will produce:<br/>
Will produce:<br/>
This is a {{pad|6em}} padded sentence.
This is a {{pad|6em}} padded sentence.
-
<noinclude>
 
-
[[Category:Templates]]
 
-
</noinclude>
 

Current revision as of 01:32, 14 January 2010

Usage

Use {{pad}} to insert a horizontally padding span inline. The template takes one unnamed parameter; a width value specified in px, em or ex.

Example

Using the following code:
This is a {{pad|6em}} padded sentence.

Will produce:
This is a   padded sentence.

Personal tools