The inline-box-align property determines which line of a multi-line inline block align with the previous and next inline elements within a line.

  • Initial valuelast
  • Applies toInline-block-level elements
  • InheritedNo
  • MediaVisual
  • Computed valueSpecified value
  • AnimatableNo
  • CSS VersionCSS3
  • JavaScript syntaxobject.style.inlineBoxAlign
Formal syntax: initial | last | <integer>

inline-box-align: initial;
inline-box-align: last;
inline-box-align: 2;
  • initialUse the initial line of the inline block element for alignment purpose.
  • lastUse the last line of the inline block element for alignment purpose.
  • <integer>Use nth line (as determined by the integer value) of the inline block element for alignment purpose.
.class {
   inline-box-align: initial; 
}
?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.