CSS vertical-align Property Reference

The CSS vertical-align property is a standard property in CSS Inline. Review its formal syntax, computed behavior, and practical declarations.

CSS vertical-align Property Reference

The CSS vertical-align property is a standard property in CSS Inline. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

vertical-align overview

The CSS vertical-align property is a standard property in CSS Inline. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

vertical-align formal syntax
FieldValue
Formal syntaxbaseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>
Initial valuebaseline
Applies toasLonghands
InheritedNo
Percentagesno
Computed valueasLonghands
Animation typediscrete
Mediavisual
Specification groupCSS Inline
StatusStandard

Practical examples

These declarations demonstrate valid ways to set vertical-align. The initial and inherit global keywords remain available even when a property-specific value is preferable.

vertical-align live example
CSS .reset-example { vertical-align: initial; } .inherit-example { vertical-align: inherit; } @supports (vertical-align: initial) { .supported { vertical-align: initial; } }

Description

The CSS vertical-align property is a standard property in CSS Inline. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: vertical-align
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies