The line-stacking-shift property determines the line stacking method for block elements containing elements with base-shift.

  • Initial valueconsider-shifts
  • Applies toBlock level elements
  • InheritedYes
  • MediaVisual
  • Computed valueSpecified value (except for initial and inherit)
  • AnimatableNo
  • CSS VersionCSS3
  • JavaScript syntaxobject.style.lineStackingShift
Formal syntax: consider-shifts | disregard-shifts

line-stacking-shift: consider-shifts;
line-stacking-shift: disregard-shifts;
  • consider-shiftsIn determining the stack-height, include the adjusted top-edge and bottom-edge of any characters that have a baseline-shift.
  • disregard-shiftsIn determining the stack-height, include the unshifted top-edge and bottom-edge of any characters that have a baseline-shift.
.class {
   line-stacking-shift: disregard-shifts ; 
}
?Firefox?Explorer?Chrome?Safari?Opera


Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.