Relative Content

Tag Archive for python-3.xfpdf2

Delimit max width of write_html() function FPDF2

How to set max width of a write_html()? I have a string with html tags and i need print the text formatted inside of a rectangle background. But the texts leak to the edge of the page.
How can i delimit the maximum width of the formatted text?