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.
Leave a Reply
Hello Fellow Webmasters!
Welcome to WebmasterTechs.com, your source for great webmaster resources and tips! Enjoy the site!
REFERRAL TRAFFIC CONTEST! Simply refer visitors to this site using the link given to you at registration. Top referrer wins choice of ANY script here FREE! (ends 08/30)
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.