Ask Your Question

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

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

dmvictoria gravatar image

updated 2020-10-18 14:23:08 +0100

Alex Kemp 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 reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2020-10-18 14:24:07.083700


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 +0100 )edit

1 Answer

Sort by » oldest newest most voted

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

Librefr gravatar image

Hi !

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

See you

edit flag offensive delete link more

Question Tools

1 follower


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

Seen: 601 times

Last updated: Oct 19 '17