How do you stop DIVS overlapping in PDFs?

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
vaikanen
Propeller Head
Posts: 11
Joined: Tue Sep 26, 2017 8:41 am

How do you stop DIVS overlapping in PDFs?

Post by vaikanen »

Anyone know how to prevent DIVS from overlapping in PDF output?

The code works perfectly in HTML, but output to PDFs does not work well, i.e. my Note Divs will overlap right-side images, for example.
Psider
Propellus Maximus
Posts: 844
Joined: Wed Jul 06, 2011 1:32 am

Re: How do you stop DIVS overlapping in PDFs?

Post by Psider »

I'm not sure if it will work for PDF but you could try setting overflow: auto; or overflow: hidden in the div style, if you haven't already.

viewtopic.php?p=146244
vaikanen
Propeller Head
Posts: 11
Joined: Tue Sep 26, 2017 8:41 am

Re: How do you stop DIVS overlapping in PDFs?

Post by vaikanen »

I've tried both -- unfortunately neither works.

There are some potential workarounds, but I'd rather just get everything to work properly. :/
AlexFox
Sr. Propeller Head
Posts: 213
Joined: Thu Oct 19, 2017 1:56 am

Re: How do you stop DIVS overlapping in PDFs?

Post by AlexFox »

Have you tried using your print media query in CSS to override the widths of your divs for just PDF output?
Post Reply