css.properties

vertical-align

The vertical-align property specifies the vertical alignment of inline or table-cell elements.

Formal Syntax

[ first | last] || <'alignment-baseline'> || <'baseline-shift'>

See specification

JavaScript Access

// Access via element.style
element.style.verticalAlign = 'baseline';

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
vertical-align11112
baseline11112
bottom11112
middle11112
sub11112
super11112
text-bottom11112
text-top11112
top11112

Related Properties