PDF Generating Tool Support Forum

HOME   Login   Register    Search

  Subject: Overlapping divs when rendering pdf
   PostPosted: 20 Mar 2017, 09:56 

I am experiencing the following issue:

Using float left style, the div1 is overlapped by div2.

<div style="overflow:hidden">
<div style="display:block">
<div id="div1" style="float:left">
<span>test 1 </span>
<span>test 2 </span>
<div id="div2">
<pre style="white-space: pre-wrap;word-break: keep-all;page-break-inside: auto;">
line 1111111111111111111111111111111111111111111111
line 2222222222222222222222222222222222222222222222
line 3333333333333333333333333333333333333333333333
<div>text after pre element</div>

I cannot paste a real example due privacy issues .

Any idea what it can be ?

Thank you

  Subject: Re: Overlapping divs when rendering pdf
   PostPosted: 21 Mar 2017, 11:21 
Problem solved by usind width:100% on pre elements.

[Reply]     [ 2 posts ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share