jkoo7yeha / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Problem one second page of pdf after rendering #298

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

What is the expected output? What do you see instead?
Since i have two columns table in first page and since data first column not 
exist on second page thats why second column start from page.

What version of the product are you using? On what operating system?
dompdf-0.5.2 on windows XP professional

Please provide any additional information below.
my html is:

<html><head><style>body { font-family: Helvetica,Courier,Arial; font-size:12px; 
color:black;margin-top: 5em;margin-left: 3em; }table td { text-align:left; 
border: solid 1px #CCCCCC; }div { font-family: 
Helvetica,Courier,Arial;font-weight:bold;font-size:14px;padding:0 0 0 10px; 
}</style></head><body><p><span style='font-weight:bold;font-size:15px;'>Javed 
Iqbal</span> <span style='font-size:15px;'>Developer | eSoftbiz</span></p>    

<table width='100%' style='position:relative'>

<tr>

    <td align='center' valign='top' style='border-right:solid 1px black;width:30%;'><img src='../../UploadFiles/files/PersonalInformation/javed.JPG' style='width:100px;height:100px' title='Javed Iqbal' /><table>

            <tr valign='top'><td align='left' valign='top' style='font-size:10px;'>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sollicitudin tortor vitae nisi bibendum eget consequat libero pretium. Quisque et nunc sapien. Donec ultricies mauris ut turpis vestibulum gravida. Morbi vel pellentesque nibh. Sed rhoncus dictum tincidunt. Nullam ullamcorper consequat nulla sed vulputate. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse quam enim, fermentum eget ullamcorper eget, lobortis sodales lectus. Phasellus at vulputate ipsum. Maecenas nunc sem, posuere et ultrices vitae, blandit vel leo. Donec feugiat volutpat tincidunt. In hac habitasse platea dictumst. Nulla eget ipsum non diam semper sollicitudin eu quis nisl. Aliquam aliquet purus ut massa pharetra bibendum. Fusce nec ligula turpis, vitae euismod mi.</td></tr> 

            <tr valign='top'><td align='left' valign='top' style='font-weight:bold;font-size:14px;'><ins>ACCREDITATIONS</ins></td></tr><tr><td align='left' style='font-weight:bold;font-size:12px;'>MCS</td></tr><tr><td align='left'>Karachi University</td></tr><tr><td align='left'>2010-2011</td></tr><tr><td></td></tr><tr><td align='left' style='font-weight:bold;font-size:12px;'>BS(CS)</td></tr><tr><td align='left'>Fuuast</td></tr><tr><td align='left'>2004-2008</td></tr><tr><td></td></tr></table><table>            

                <tr valign='top'><td align='left' valign='top' style='font-weight:bold;font-size:14px;'><ins>REFERENCES</ins></td></tr><tr><td align='left' style='font-weight:bold;font-size:12px;'>Aslam</td></tr><tr><td align='left'>aslam@soneri.net</td></tr></table></td>

    <td align='left' valign='top' style='padding:0 0 0 10px; border-left:solid 1px red;'>

        <table>

            <tr>

            <td width='191' align='left' valign='middle' class='personal_box_text'>Date of Birth:</td>

            <td align='left' valign='top' class='personal_blue_text'>1986-11-17</td>

            </tr>

            <tr>

            <td width='191' align='left' valign='middle' class='personal_box_text'>Phone number:</td>

            <td align='left' valign='top' class='personal_blue_text'>92-58215252</td>

            </tr>

            <tr>

            <td width='191' align='left' valign='middle' class='personal_box_text'>Fax:</td>

            <td align='left' valign='top' class='personal_blue_text'><b>92-256</b></td>

            </tr>

            <tr>

            <td width='191' align='left' valign='middle' class='personal_box_text'>Cell:</td>

            <td align='left' valign='top' class='personal_blue_text'>92-344523698</td>

            </tr>    

            <tr>

            <td width='191' align='left' valign='middle' class='personal_box_text'>Professional Experience:</td>

            <td align='left' valign='top' class='personal_blue_text'>Senior Software Developer in eSoftbiz for 2 years            </td>

            </tr>

            <tr>

            <td width='191' align='left' valign='middle' class='personal_box_text'>Specialities:</td>

            <td align='left' valign='top' class='personal_blue_text'><b>Web Development using ASP.Net and PHP</b></td>

            </tr>

            <tr>

            <td width='191' align='left' valign='middle' class='personal_box_text'>Email:</td>

            <td align='left' valign='top' class='personal_blue_text'><a href=''>javi_hunza01@yahoo.com</a></td>

            </tr>

            <tr>

            <td width='191' align='left' valign='middle' class='personal_box_text'></td>

            <td align='left' valign='top' class='personal_blue_text'><br/></td>

            </tr>

        </table>        

        <table id='tbl_jobhistory'><tr>                                                                              

                        <td align='left' colspan='2' width='100%' valign='top' style='font-weight:bold;font-size:16px'><ins>EMPLOYMENT HISTORY</ins></td>                              

                    </tr><tr>                                                                              

                        <td colspan='2' width='100%' align='left' valign='top'></td>                              

                    </tr>

                    <tr>

                        <td colspan='2' width='100%' align='left' valign='top' style='font-weight:bold;font-size:14px'>IT Officer</td>                              

                    </tr>

                    <tr>                                                                                                                  

                        <td colspan='2' width='100%' align='left' valign='top'>syntecX 2011 - 2011</td>                              

                    </tr>

                    <tr>

                        <td colspan='2' width='100%' align='left' valign='top' width='500'><p style='text-align: justify;'>Web development using php and mysql
Full Description of project number second will bea asdasd asdad ada dad asd a 
dasdasdasdads ad ad  ad ad  ad a ds a d a fasdf a sd as df a sdf as df a sd f 
asd fa sdfads fa sdf asdfa sd f asd a s df asdfasdf adfa sdasdfasdfasdfasdfasda 
dsa sd ad asd ada sdasfasfasd ad a sda sdasdfasdfasdas as d asdadsadsfasdfasdf 
as a ds as d asdad adasdasfasda sdadasdasd asd asdadasdasd sad dsa sd 
awdasdasdasd</p></td>                

                    </tr>

                    <tr>                                                                                          

                        <td colspan='2' width='100%' align='left' valign='top'></td>                              

                    </tr><tr>                                                                              

                        <td colspan='2' width='100%' align='left' valign='top'></td>                              

                    </tr>

                    <tr>

                        <td colspan='2' width='100%' align='left' valign='top' style='font-weight:bold;font-size:14px'>Sr Software Engineer</td>                              

                    </tr>

                    <tr>                                                                                                                  

                        <td colspan='2' width='100%' align='left' valign='top'>eSoftbiz 2008 - 2009</td>                              

                    </tr>

                    <tr>

                        <td colspan='2' width='100%' align='left' valign='top' width='500'><p style='text-align: justify;'>Web development</p></td>                

                    </tr>

                    <tr>                                                                                          

                        <td colspan='2' width='100%' align='left' valign='top'></td>                              

                    </tr></table>        

        <table id='tbl_projecthistory'><tr>

                       <td align='left' colspan='2' width='100%' valign='top' style='font-weight:bold;font-size:16px'><ins>PROJECT HISTORY</ins></td>                                                     

                    </tr><tr>

                        <td colspan='2' width='100%' align='left' valign='top' style='font-weight:bold;font-size:14px'>Tender for Construction Contract</td>                              

                    </tr>

                    <tr>                                                                                                                  

                        <td colspan='2' width='100%' align='left' valign='top'>syntecX Solutions 2011 - 2011</td>                              

                    </tr>

                    <tr>

                        <td colspan='2' width='100%' align='left' valign='top'><p style='text-align: justify;'>Full Description asd asd ad a d asd a &nbsp;asd ads ad a sd asd ada da sd as dasd &nbsp;as ads dasd asd asdasdasdasdasdasd</p></td>                

                    </tr>

                    <tr>                                                                                          

                        <td colspan='2' width='100%' align='left' valign='top'></td>                              

                    </tr><tr>

                        <td colspan='2' width='100%' align='left' valign='top' style='font-weight:bold;font-size:14px'>Building Project</td>                              

                    </tr>

                    <tr>                                                                                                                  

                        <td colspan='2' width='100%' align='left' valign='top'>syntecX 2007 - 2011</td>                              

                    </tr>

                    <tr>

                        <td colspan='2' width='100%' align='left' valign='top'><p style='text-align: justify;'>Description</p></td>                

                    </tr>

                    <tr>                                                                                          

                        <td colspan='2' width='100%' align='left' valign='top'></td>                              

                    </tr><tr>

                        <td colspan='2' width='100%' align='left' valign='top' style='font-weight:bold;font-size:14px'>Thermal Energy Storage Tank</td>                              

                    </tr>

                    <tr>                                                                                                                  

                        <td colspan='2' width='100%' align='left' valign='top'>Owner2 2011 - 2011</td>                              

                    </tr>

                    <tr>

                        <td colspan='2' width='100%' align='left' valign='top'><p style='text-align: justify;'>Full Description of project number second will bea asdasd asdad ada dad asd a dasdasdasdads ad ad &nbsp;ad ad &nbsp;ad a ds a d a fasdf a sd as df a sdf as df a sd f asd fa sdfads fa sdf asdfa sd f asd a s df asdfasdf adfa sdasdfasdfasdfasdfasda dsa sd ad asd ada sdasfasfasd ad a sda sdasdfasdfasdas as d asdadsadsfasdfasdf as a ds as d asdad adasdasfasda sdadasdasd asd asdadasdasd sad dsa sd awdasdasdasd</p></td>                

                    </tr>

                    <tr>                                                                                          

                        <td colspan='2' width='100%' align='left' valign='top'></td>                              

                    </tr><tr>

                        <td colspan='2' width='100%' align='left' valign='top' style='font-weight:bold;font-size:14px'>Project Name</td>                              

                    </tr>

                    <tr>                                                                                                                  

                        <td colspan='2' width='100%' align='left' valign='top'>Irfan 2011 - 2011</td>                              

                    </tr>

                    <tr>

                        <td colspan='2' width='100%' align='left' valign='top'><p style='text-align: justify;'>Descr</p></td>                

                    </tr>

                    <tr>                                                                                          

                        <td colspan='2' width='100%' align='left' valign='top'></td>                              

                    </tr></table></td>

</tr>

</table></body></html><form name="Member_Pfolio" id="Member_Pfolio" 
method="post" action="">

<div style="visibility:visible;">

    <p>Paper size and orientaion:

    <select name="paper">

    <option value="4a0">4a0</option> 
<option value="2a0">2a0</option> 
<option value="a0">a0</option> 
<option value="a1">a1</option> 
<option value="a2">a2</option> 
<option value="a3">a3</option> 
<option value="a4">a4</option> 
<option value="a5">a5</option> 
<option value="a6">a6</option> 
<option value="a7">a7</option> 
<option value="a8">a8</option> 
<option value="a9">a9</option> 
<option value="a10">a10</option> 
<option value="b0">b0</option> 
<option value="b1">b1</option> 
<option value="b2">b2</option> 
<option value="b3">b3</option> 
<option value="b4">b4</option> 
<option value="b5">b5</option> 
<option value="b6">b6</option> 
<option value="b7">b7</option> 
<option value="b8">b8</option> 
<option value="b9">b9</option> 
<option value="b10">b10</option> 
<option value="c0">c0</option> 
<option value="c1">c1</option> 
<option value="c2">c2</option> 
<option value="c3">c3</option> 
<option value="c4">c4</option> 
<option value="c5">c5</option> 
<option value="c6">c6</option> 
<option value="c7">c7</option> 
<option value="c8">c8</option> 
<option value="c9">c9</option> 
<option value="c10">c10</option> 
<option value="ra0">ra0</option> 
<option value="ra1">ra1</option> 
<option value="ra2">ra2</option> 
<option value="ra3">ra3</option> 
<option value="ra4">ra4</option> 
<option value="sra0">sra0</option> 
<option value="sra1">sra1</option> 
<option value="sra2">sra2</option> 
<option value="sra3">sra3</option> 
<option value="sra4">sra4</option> 
<option value="letter">letter</option> 
<option selected value="legal">legal</option> 
<option value="ledger">ledger</option> 
<option value="tabloid">tabloid</option> 
<option value="executive">executive</option> 
<option value="folio">folio</option> 
<option value="commerical #10 envelope">commerical #10 envelope</option> 
<option value="catalog #10 1/2 envelope">catalog #10 1/2 envelope</option> 
<option value="8.5x11">8.5x11</option> 
<option value="8.5x14">8.5x14</option> 
<option value="11x17">11x17</option> 
    </select>

    <select name="orientation">

      <option value="portrait">portrait</option>

      <option value="landscape">landscape</option>

    </select>

    </p>

</div>

<input type="submit" name="submit" value="Download PDF"/>

</form>

Original issue reported on code.google.com by javed.iq...@syntecx.net on 2 Jun 2011 at 1:55

Attachments:

GoogleCodeExporter commented 8 years ago
You're using DOMPDF 0.5.2? Is the HTML you posted what you used to create the 
attached PDF? I have been unable to duplicate your rendering. Could you post it 
as an attachment to this issue to avoid any modification of the document by the 
issue tracker?

I see two issues that could affect your rendering:
1) Your table cells are large and could be affected by Issue 91.
2) When a table flows across pages auto-calculated column widths are not 
maintained, Issue 48.

Finally, if you are using 0.5.2 we will not be releasing any patches. The 
solution would be to upgrade to 0.6.0, currently in beta.

Original comment by eclecticgeek on 4 Jun 2011 at 1:46

GoogleCodeExporter commented 8 years ago
We'll reopen it if the OP gives more info.

Original comment by fabien.menager on 12 Jan 2012 at 8:22

GoogleCodeExporter commented 8 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:15