baseline-shift

< svg‎ | attributes
Jump to: navigation, search

baseline-shift

This article is Almost Ready.

W3C Recommendation

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  ?

Name: baseline-shift Value: baseline

Needs Examples: This section should include examples.

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

Related specifications

Specification Status Related Changes
Scalable Vector Graphics (SVG) 1.1 W3C Recommendation

See also

Related articles

CSS Layout











CSS Attributes















Related pages (MSDN)

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]