473,379 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ


Text Properties

By Mark Hardy
Administrator, TheScripts.com

Text Properties

word-spacing
This command sets the amount of white space between words.

H1 {word-spacing: 0.3em;}

letter-spacing
Much the same as the word-spacing command, however it sets the spacing between letters. H1 {letter-spacing: 0.3em;}

text-decoration
Allows you to set the font's effect, like underline and strike through.

P {text-decoration: underline;}

vertical-align
This commands allow you set the vertical alignment of an object.

P {vertical-align: super;}

text-transform
Allows you to change the case of the words.

H1 {text-transform: lowercase;}

text-align
Sets the horizontal alignment of any set of words within a certain element.

H1 {text-align: justify;}

text-indent
Allows you to define the indentation of the first line of each paragraph of text within any block-level element.

P {text-indent: 30px;}

line-height
Allows you to set the vertical difference between the two baselines.

P {line-height: 25px;}

« Color and Background Classification Properties »

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.