P {text-align: right}
Blockquote {text-align: justify}
P {text-indent: 10 px}
P {text-indent: -5em}
Body {font size: 10 pt; line-height: 120%}
H1 {word-spacing: 20px}
P {word-spacing: 1em}
P {letter-spacing: 1mm}
Blockquote {letter-spacing: 0.2em}
The vertical align property allows you to raise or lower a letter, word line of text or an image above or below the baseline of the text. There are six values associated with the vertical-align property.
- baseline this will align the bottom of the element or object with the baseline
- sub this drops the bottom of the element or object below the baseline
- super aligns the bottom of the element or object above the baseline. The height is determined by the browser.
- text-top aligns the top of the element or object with the top of the tallest letter.
- middle aligns the center of the element or object just above the baseline, approximately the height of the lowercase letters.
- text-bottom aligns the bottom of the element or object with the bottom of the font.
IMG. Initial {vertical-align: middle}
Sub {vertical-align: sub; font-size: 20pt}
Sub {vertical-align: sub; font-size: 20pt}
No comments:
Post a Comment