my dompdf shows overlapping of texts after some rows when i converting it from my lead's html data i am using vtiger so please anyone suggest me to get rid of this problem.

1,123 views
Skip to first unread message

Sandeep Bangarh

unread,
Oct 23, 2015, 9:35:29 AM10/23/15
to dompdf
my dompdf shows overlapping of texts after some rows when i converting it from my lead's html data i am using vtiger so please anyone suggest me to get rid of this problem.
error.png
abc.html

BrianS

unread,
Oct 23, 2015, 9:50:14 AM10/23/15
to dompdf
The document you posted renders without issue for me. Is there any missing styling?

Sandeep Bangarh

unread,
Oct 26, 2015, 12:57:35 AM10/26/15
to dompdf

this is my css
On Friday, October 23, 2015 at 7:05:29 PM UTC+5:30, Sandeep Bangarh wrote:

bootstrap.css

BrianS

unread,
Oct 26, 2015, 11:12:01 AM10/26/15
to dompdf
I am sorry to say that dompdf does not yet fully support Bootstrap. If you want to stick with dompdf it might be easier to use tables since the content is conducive to that type of structure.

That being said, I think you can get this to work. There appears to be a bug in handling the :before/:after content. When the content is empty or a space dompdf seems to discard it (or something to that effect, haven't investigated yet). The following additional styling seems to get things looking a bit more as expected.

.row-fluid:after {
  visibility
: hidden;
  content
: "."
  height
: 1px;
  clear
: both;
}
.span6 .pull-right {
  display
: none;
}

I hid the action buttons (the .span6 .pull-right styling) since those don't really seem necessary in the print-out and I'm not sure how well floats inside floats work at present. There is one last issue that is present, and that's that dompdf seems to lose track of the layout after a certain number of floated elements. I'm not sure right now how to best address that.

Sandeep Bangarh

unread,
Oct 27, 2015, 9:14:34 AM10/27/15
to dompdf

Thankyou sir for your support

On Friday, October 23, 2015 at 7:05:29 PM UTC+5:30, Sandeep Bangarh wrote:
Reply all
Reply to author
Forward
0 new messages