Use “letter-spacing” to define spacing between characters.
Use “word-spacing” to define spacing between words.
Sample usage:
p {
letter-spacing: .1em ;
word-spacing: 1.5em ;
}
Other values you can use are: px (for pixels), pt (for points), cm (for centimetres). But “em” is generally recommended to address text-resizing, especially in Internet Explorer 6 and below.
Additionally, you may also be interested in using the “line-height” property to specify spacing between lines of text within a container.
January 30th, 2007 at 10:22 am
Use “letter-spacing” to define spacing between characters.
Use “word-spacing” to define spacing between words.
Sample usage:
p {
letter-spacing: .1em ;
word-spacing: 1.5em ;
}
Other values you can use are: px (for pixels), pt (for points), cm (for centimetres). But “em” is generally recommended to address text-resizing, especially in Internet Explorer 6 and below.
Additionally, you may also be interested in using the “line-height” property to specify spacing between lines of text within a container.