We are pleased to announce that we have recently added support for the
vertical-align CSS property in pdfHTML. The
vertical-align CSS property aligns the desired inline, or inline-block element along the vertical axis, in relation to other inline or inline-block elements. More information about this CSS property can be found on the W3docs site.
In prior pdfHTML releases, upon conversion if the
vertical-align property was used, the target element's position would revert as if the
vertical-align property had not been applied.
How it works
Apply the CSS
vertical-align property to an element that is either inline, or inline-block.
HtmlConverter as you normally would.
Original HTML Document
iText 7.2.4 and prior