97.5k views
4 votes
What is the "middle" value for the "vertical-align" property based on?

a) a line's x-height
b) the height of the age
c) the shortest element on a line
d) the number of elements on a line

1 Answer

1 vote

Answer: a) a line's x-height.

Explanation: The middle of the parent element is calculated by taking the x-height, halving it, and adding it to the baseline. Therefore, the "middle" value for the "vertical-align" property must be also based on the line's x-height.

User BJ Hargrave
by
5.2k points