Ask Your Question

Convert HTML to PDF, some table css not carrying over.

asked 2017-10-19 00:04:17 +0200

dmvictoria gravatar image

Hello, I'm performing this in --headless mode. Basically, most of the css makes it over except for for the vertical-align: top; property of the table, thus making my table look very messy. Looks fine in the HTML file. I've tried other css variations on all tags relating to the table and individually as well with no luck.

How do I get the text in my table to vertically align to the top when I convert it to a PDF.

edit retag flag offensive close merge delete


Does LibreOffice show the vertical align correctly when run interactively? (You only refer to headless conversion mode.)

If it does not, then it's not a conversion problem, but missing support in import filter, which should be reported to Bugzilla (along with a text HTML attached and screenshots/PDFs to show the problem).

Mike Kaganski gravatar imageMike Kaganski ( 2017-10-19 10:03:52 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-10-19 09:55:14 +0200

Librefr gravatar image

Hi !

May be you should use PDFcreator, sometimes it's better with it !

See you

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-10-19 00:04:17 +0200

Seen: 272 times

Last updated: Oct 19 '17