Difference between revisions of "CSS GUIDE LETTER SPACING"
Davenrathh (talk | contribs) (→Usage Examples) |
Davenrathh (talk | contribs) (→Legal Values) |
||
Line 23: | Line 23: | ||
<td>Defines normal space between characters</td> | <td>Defines normal space between characters</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr> | <tr> | ||
<td>'''length'''</td> | <td>'''length'''</td> |
Revision as of 10:38, 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
H1 { letter-spacing: 0.1em }
P.note { letter-spacing: -0.1em }
Notes
- Can be negative numbers
Specification Conformance
Browser Compatibility
- Internet Explorer
- Netscape Navigator
- Opera
- Firefox
- Safari