< svg‎ | attributes
Jump to: navigation, search


This article is Almost Ready.

W3C Recommendation


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.



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.


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

  • baseline-shift

CSS Attributes

  • baseline-shift

Related pages (MSDN)


This article contains content originally from external sources.

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