baseline-shift
Summary
The ‘baseline-shift’ property allows repositioning of the dominant-baseline( a baseline-table and a baseline-table font-size which are those of the nearest block-level ancestor element and are applied to its root inline box.) relative to the dominant-baseline.
Applies to | ? |
---|
Notes
Remarks
The baseline-shift property allows repositioning of the dominant baseline relative to the dominant baseline of the parent text content element. The shifted object might be a subscript or superscript. Within the shifted object, the whole baseline table is offset; not just a single baseline. The amount of the shift is determined by one of the following:
- the parent text content element
- the subscript or superscript offset from the nominal font of the parent text content element
- the percent of the line-height of the parent text content element
- an absolute value.
Syntax
baseline-shift: baseline | sub | super | percentage | length
Standards information
- Scalable Vector Graphics: Text, Section 10.9.2
Related specifications
- Scalable Vector Graphics (SVG) 1.1
- W3C Recommendation
See also
Related articles
CSS Layout
baseline-shift
CSS Attributes
baseline-shift
Related pages
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]