REDUCE THE SPACING BETWEEN LETTERS IN HTML

Kate Smith

Total Post:24

Points:168
Posted by  Kate Smith
 992  View(s)
Ratings:
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. 
  1. AVADHESH PATEL

    Post:604

    Points:4228
    Re: Reduce the spacing between letters in HTML

    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}

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!