Difference between revisions of "CSS GUIDE LETTER SPACING"
Davenrathh (talk | contribs) (→Legal Values) |
Davenrathh (talk | contribs) (→Legal Values) |
||
Line 14: | Line 14: | ||
== Legal Values == | == Legal Values == | ||
− | + | <table class="standard-table"> | |
− | Value | + | <tr> |
− | + | <th>Value</th> | |
− | '''normal''' | + | <th>Description</th> |
− | + | </tr> | |
− | '''length''' | + | <tr> |
− | + | <td>'''normal'''</td> | |
− | + | <td>Defines normal space between characters<td> | |
+ | </tr> | ||
+ | <tr> | ||
+ | <td>'''length'''</td> | ||
+ | <td> The following values can be also used to define the letter-spacing distance: | ||
+ | cm (centimeter) | ||
em (ems) | em (ems) | ||
inch (inches) | inch (inches) | ||
Line 28: | Line 33: | ||
px (pixels) | px (pixels) | ||
pt (points) | pt (points) | ||
+ | </td></tr> | ||
+ | </table> | ||
== Mozilla Recommended Values == | == Mozilla Recommended Values == |
Revision as of 10:30, 4 December 2006
This document is a work in progress and is subject to change.
Contents
Summary
This property increase and decreases the space between letters.
Syntax
p { letter-spacing: -0.5px }
p { letter-spacing: 8px }
Legal Values
Value | Description | |
---|---|---|
normal | Defines normal space between characters | |
length | The following values can be also used to define the letter-spacing distance:
cm (centimeter) em (ems) inch (inches) mm (millimeters) pc (picas) px (pixels) pt (points) |
Mozilla Recommended Values
Usage Examples
Notes
Specification Conformance
Browser Compatibility
- Internet Explorer
- Netscape Navigator
- Opera
- Firefox
- Safari