0.6.0 beta3 - problem with table borders

104 views
Skip to first unread message

creagel

unread,
Apr 25, 2012, 4:13:07 PM4/25/12
to dom...@googlegroups.com
Hello,

I am having problem with converting html to pdf (CPDF backend).
Borders of of table are "out of position" (text in table cells does not fit with table borders).

I'am testing this on 0.6.0 beta 3.
On older version of dompdf (0.3) are borders correctly.

HTML page for converting is attached, likewise converted PDF.
template.html
output.pdf

BrianS

unread,
May 13, 2012, 11:05:14 PM5/13/12
to dom...@googlegroups.com
There does appear to be buggy behavior in rendering this document. Something introduced after beta 2. You can watch issue 483 to see when the problem is addressed.

In the meantime the work around for this particular document is somewhat simple. Simply style the vatTD class with vertical-align: top;. You'll also need to decrease the top margin on your sum table for the two to line up correctly.
Reply all
Reply to author
Forward
0 new messages