vertical-align
Īpašums CSS kontroli, kā elementi, kas viens otram blakus uz līnijas, ir ierindots.
img ( vertical-align: middle; )
Lai tas darbotos, elementi jānosaka pa bāzes līniju. Tāpat kā inline
(piemēram ,
Fairly consistent across browsers old and new, assuming the font is the same.
Note that some replace elements (e.g.
) are inline, but their baseline isn’t specified, so behavior may vary from browser to browser.