Home » CSS Tutorial » CSS Properties » letter-spacing
letter-spacing
CSS Property Info :
| Syntax: |
letter-spacing: <value> |
| Possible Values: |
normal | <length>
|
| Initial Value: |
normal |
| Applies to: |
All elements |
| Inherited: |
Yes |
CSS Browser Support :
Internet Explorer 4+
Netscape 6+
Opera 3.6+
W3C's CSS Level 2+
CSS Property Description :
The letter-spacing property defines an additional amount of space between characters. The value must be in the length format; negative values are permitted. A setting of 0 will prevent justification.
Examples:
H1 { letter-spacing: 0.1em }
P.note { letter-spacing: -0.1em }
CSS Bugs / Problems :
Opera destroys all subsequent elements if letter-spacing is used on inline elements.
Workaround: This bug is very easily fixed by simply closing each such element on the same line as the last bit of its content.
More info at: http://www.richinstyle.com/bugs/opera3.html
Adapted by style-sheets.com, maker of Style Studio, powerful CSS Editor for Windows.
Copyright © John Pozadzides and Liam Quinn. All rights reserved.
Home » CSS Tutorial » CSS Properties » letter-spacing
|