Template:Pad

From AHPA Botanical Identity References Compendium
(Difference between revisions)
Jump to: navigation, search
(Created page with "<span style="padding-left: {{{1|1em}}};"> </span><noinclude> <pre>Use {{Pad}} to insert a horizontally padding HTML <span> inline. The template takes one unnamed paramete...")
 
Line 1: Line 1:
 
<span style="padding-left: {{{1|1em}}};">&nbsp;</span><noinclude>
 
<span style="padding-left: {{{1|1em}}};">&nbsp;</span><noinclude>
<pre>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.
+
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).</pre>
+
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).
  
 
Loaded from Wikipedia http://en.wikipedia.org/wiki/Template:Pad source 2/25/2014
 
Loaded from Wikipedia http://en.wikipedia.org/wiki/Template:Pad source 2/25/2014
 
</noinclude>
 
</noinclude>

Revision as of 20:15, 25 February 2014

  Use   to insert a horizontally padding HTML 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

Personal tools
MediaWiki Appliance - Powered by TurnKey Linux