Home > DeveloperSection > Forums > Reduce the spacing between letters in HTML
Kate Smith
Kate Smith

Total Post:24

Points:168
Posted on    June-14-2013 9:24 AM

 CSS-CSS3 CSS-CSS3 
Ratings:


 1 Reply(s)
 715  View(s)
Rate this:
Hi All,

I wanted to reduce the spacing between letters, how would it be done? Can you provide any example.

Thanks in advance. 


AVADHESH PATEL

Total Post:604

Points:4228
Posted on    June-15-2013 5:11 AM

Hi Kate,

The letter-spacing property increases or decreases the space between characters in a text.

e.g. 

Set the letter spacing for h1 and h2 elements:

h1 {letter-spacing:3px}
h2 {letter-spacing:-4px}

Don't want to miss updates? Please click the below button!

Follow MindStick