Forums
Forums / Plugin: Gravity PDF / Span style
(@nitrat)
7 years, 4 months ago
Hi Something like this doesn’t work in new version – <span style="text-align:right;font-weight:600;">TEXT</span>
<span style="text-align:right;font-weight:600;">TEXT</span>
(@blue-liquid-designs)
Text alignment on inline elements is not supported in mPDF (the PDF software we use). Change it to a block element like <div> instead.
<div>
You can see the full list of supported CSS for each HTML element in the mPDF documentation.
The topic ‘Span style’ is closed to new replies.