Template:Pad
From AHPA Botanical Identity References Compendium
(Difference between revisions)
Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
− | Use | + | Use Pad to insert a horizontally padding HTML SPAN inline. The template takes one unnamed parameter; a width value specified in <tt>[[Pixel|px]]</tt>, <tt>[[Em (typography)|em]]</tt> or <tt>[[x-height|ex]]</tt> (other CSS units – in, cm, pc, pt – are supported as well, but not recommended, typically at 96dpi conversion ratio). The default is <tt>1 em</tt>. |
'''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). | '''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). |
Latest revision as of 20:16, 25 February 2014
[edit] Usage
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 (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).
Loaded from Wikipedia http://en.wikipedia.org/wiki/Template:Pad source 2/25/2014