xoops forums

Mamba

Moderator
Posted on: 1/7 16:52
Mamba
Mamba (Show more)
Moderator
Posts: 10559
Since: 2004/4/23
#21

Re: PUBLISHER 1.05 FINAL RELEASED

The "mixing up of the html-table" could have various reasons, e.g. related to CSS.

You can compare the HTML/CSS code that you have to, this example and see if there are any differences:
https://tcpdf.org/examples/example_048/

FYI: I copied your table and pasted it in publisher on my PC, but without your CSS, and the PDF was created correctly:
Resized Image

I have the same version of TCPDF: 6.2.13
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs

Mamba

Moderator
Posted on: 1/8 6:42
Mamba
Mamba (Show more)
Moderator
Posts: 10559
Since: 2004/4/23
#22

Re: PUBLISHER 1.05 FINAL RELEASED

From this article: http://www.cybernetikz.com/create-pdf-to-html/

Quote:
Always remember a thing for designing layout that tcpdf is good for layout designing of a pdf but it doesn’t always support all CSS. Basic CSS and in line CSS are the best ways to keep the design in tcpdf.
If you want to design a table then always try to use table default properties like valign width etc methods. Otherwise, your tries will be in vain.
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs