- Description
Depending on the value given, sets the position of text within it's own line box (top, bottom), or the position of it's line box within the text line of it's parent (baseline, middle, sub, super, text-bottom, text-top)
See also:
- Live Example
- Play with the code in the textarea below.
- Values
- length and percentage values or baseline, middle, sub, super, text-bottom, text-top,
- Default value
- baseline
- Introduced in CSS version
- 1
- Applies to elements
- inline elements
- Inherited
- No
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions 5 1 1 6 0.2
Belongs to:
See the full list CSS properties and browser support: CSS Properties