Welcome to Bucaro TecHelp!

Bucaro TecHelp
HTTPS Encryption not required because no account numbers or
personal information is ever requested or accepted by this site

About Bucaro TecHelp About BTH User Agreement User Agreement Privacy Policy Privacy Site Map Site Map Contact Bucaro TecHelp Contact RSS News Feeds News Feeds

Set the Letter Spacing

Use the CSS letter-spacing property to increase or decreases the space between letters. You might set the letter spacing different than the default setting when you need the text to fill a predefined area, or when you want to add an attention-getting effect. You can increase or decrease the letter spacing.

Shown below is the default spacing between letters.

BIG SALE

Increase the letter spacing to get attention. Shown below is the letter-spacing set to 4 pixels.

<p style="letter-spacing:4px;">BIG SALE</p>

BIG SALE

Decrease the letter spacing to create an over-lapping effect. To decrease the letter spacing less than the default setting, use a negative value. Shown below is the letter-spacing set to -4 pixels.

<p style="letter-spacing:-4px;">BIG SALE</p>

BIG SALE

Because the letter-spacing property is inherited, you may need to set it to the value normal to return the letter spacing to default in a child element. Shown below, the letter spacing for the div is set to 10 pixels, but the letter spacing for the span within the div is set to normal.

<div style="letter-spacing:10px;">These words are
<span style="letter-spacing:normal;">
These letters are spaced normally</span>
spaced 10 pixels</div>
These letters are These letters are spaced normally spaced 4 pixels

More CSS Quick Reference:
• Set the Type of Bullet Used in List
• Specifying Color
• Set an Element's Overlap (z-index)
• Define CSS Rollover Effects
• Set List Properties
• Set the Line Spacing
• position:absolute
• Set the Font Style
• Set the Text Alignment
• Style the First Letter

RSS Feed RSS Feed

Follow Stephen Bucaro Follow @Stephen Bucaro



Fire HD
[Site User Agreement] [Privacy Policy] [Site map] [Search This Site] [Contact Form]
Copyright©2001-2024 Bucaro TecHelp 13771 N Fountain Hills Blvd Suite 114-248 Fountain Hills, AZ 85268