If you want to vertically center an inline or inline-block element relative to its parent, you'd set "vertical-align" to ________.

  • baseline
  • center
  • middle
  • top
To vertically center an inline or inline-block element relative to its parent, you'd set the "vertical-align" property to middle. This property allows you to control the vertical alignment of inline-level elements within their line boxes.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *