vertical-align

  • A vertical-align declaration only affects inline and table-cell elements.

  • With inline elements, it controls alignment among other elements on the same line.

  • With table-cell elements, vertical-align controls the alignment of the contents within the cell.

  • Applying vertical-align to a block element is ignored by the browser.

Last updated