Template:Pad

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

 

Usage[edit]

Use {{Pad}} to insert a horizontally padding HTML ‎<span> inline. The template takes one unnamed parameter; a width value specified in px, em or ex (other CSS units – in, cm, pc, pt – are supported as well, but not recommended, typically at 96dpi conversion ratio). The default is 1 em.

The result is the specified padding followed by an &nbsp; (non-breaking space – at 100% font size (8pt), typically 3px wide in narrow fonts like Arial and Tahoma, 4px in wider fonts like Arial Black and Verdana).

For examples, see en:Template:pad.