CSS provides several alignment properties. The text-align property, limited to block elements and table cells, describes horizontal alignment. In contrast, the vertical-align property only applies to inline elements and table cells.
CSS provides several alignment properties. The text-align property, limited to block elements and table cells, describes horizontal alignment. In contrast, the vertical-align property only applies to inline elements and table cells.