Click here to Skip to main content
16,011,374 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Border lines set in html is not rendering in pdf generated. i am passing the html code as below .


My html code:
HTML
<p><u><strong><img alt="" src="[BANKLOGO]" style="float:left; height:41px; width:893px" /></strong></u></p>    <p><strong>ABC PLATINUM CREDIT CARD:</strong></p>    <p><span style="color:rgb(0,153,255)"><strong>Statement for&nbsp;ABC&nbsp;Account Numbe</strong>r</span><strong>&nbsp;<span style="color:rgb(0,153,255)">[ACCOUNTNO]</span></strong></p>    <p><strong><span style="color:rgb(0,153,255)">Statement Period</span>:</strong> <strong><span style="color:rgb(0,153,255)">[FROMDATE] - [TODATE]</span></strong></p>    
       <div style="width:500px;float:left; height: auto; color: rgb(0,153,255)"> 
 <div style="width: 162px;float:left; height: auto; color: rgb(0,153,255);border:solid 3px #808080"> 
             <p style="border-bottom:solid 3px #000000"><strong>At a Glance</strong></p>   
             <p><strong>Statement Date:</strong></p>   
              <p><strong>[STATEMENTDATE]</strong></p>    <p>&nbsp;</p>  
              <p><strong>Total Credits</strong></p>   
             <p><strong>[TOTALCREDIT]</strong></p>   
             <p><strong>Total Debits</strong></p>    
            <p>[TOTALDEBIT]</p> 

        </div>    
        <div style="width: 162px; height: 100px;float:left; color: rgb(0,153,255);border:solid  #000000">  
            <p><strong>Total Credits</strong></p>   
             <p><strong>[TOTALCREDIT]</strong></p>   
             <p><strong>Total Debits</strong></p>    
            <p>[TOTALDEBIT]</p> 

        </div>  
           </div>


What I have tried:

My html code:
HTML
<p><u><strong><img alt="" src="[BANKLOGO]" style="float:left; height:41px; width:893px" /></strong></u></p>    <p><strong>ABC PLATINUM CREDIT CARD:</strong></p>    <p><span style="color:rgb(0,153,255)"><strong>Statement for&nbsp;ABC&nbsp;Account Numbe</strong>r</span><strong>&nbsp;<span style="color:rgb(0,153,255)">[ACCOUNTNO]</span></strong></p>    <p><strong><span style="color:rgb(0,153,255)">Statement Period</span>:</strong> <strong><span style="color:rgb(0,153,255)">[FROMDATE] - [TODATE]</span></strong></p>    
       <div style="width:500px;float:left; height: auto; color: rgb(0,153,255)"> 
 <div style="width: 162px;float:left; height: auto; color: rgb(0,153,255);border:solid 3px #808080"> 
             <p style="border-bottom:solid 3px
Posted
Updated 26-Jun-16 17:18pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900