Template:Pad/doc

Usage
Use pad to insert a horizontally padding HTML inline. The template takes one unnamed parameter; a width value specified in,   or   (other CSS units – in, cm, pc, pt – are supported as well, but not recommended, typically at 96dpi conversion ratio). The default is.

The result is the specified padding followed by an &amp;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).

Parameters

 * 1
 * size of padding


 * css
 * optional additional CSS code

Examples
Indenting by 50 pixels plus an &amp;nbsp; (53px in Arial): Produces: this amount of space.
 * Indenting 50px causes

Width of a typical year-range in Arial font (4.8em plus an &amp;nbsp;): Produces: Columbus & others.
 * 1492–1540 Exploration by

This is better produced by: Which produces: Columbus & others
 * 1492–1540 Exploration by

However, some digits supposedly require less space: Produces: Explorer Bob.
 * 1111–1117 Exploration by

But actually not: Produces:
 * 1111–1117 Exploration by Explorer Bob.

Spacing is, of course, different between fonts, too: and this is indented by 100px + 1 &amp;nbsp; and this is indented by 9em + 1 &amp;nbsp; and this is indented by 100px+ 1 &amp;nbsp; and this is indented by 9em + 1 &amp;nbsp; and this is indented by 100px + 1 &amp;nbsp; and this is indented by 9em + 1 &amp;nbsp; and this is indented by 100px+ 1 &amp;nbsp; and this is indented by 9em + 1 &amp;nbsp;
 * This is text 0123456789 in Arial
 * This is text 0123456789 in Times New Roman
 * This is text 0123456789 in Arial Black
 * This is text 0123456789 in Lucida Console

Note: 1em is typically 11.2px at 100% font size (8 point), 21.3px at 200% font size (16 point), and 32px at 300% font size (24pt).