Hello,
I am refering to below url, for pdf conversion, but pdf created is all distorted, just reading the html from file or tried by read all html from the url, but failed, do i missing something
https://www.aspsnippets.com/Articles/iTextSharp-Generate-PDF-in-Memory-and-send-as-Email-Attachment-using-C-VBNet-and-ASPNet.aspx
Below is the html
<table style="width:850px;margin:auto;border:1px black solid;">
<tr>
<td style="width:150px;">
<img src="logoGanpati.jpg" width=103px; height=88px;>
</td>
<td style="text-align:center;padding:10px 100px 0px 0px;">
<h1 style="margin-top:0px;"><span style="color:red;border-bottom:2px solid #FACC2E;letter-spacing:4px;font-size:48px;">Eshant Kapoor</span></h1>
<h2 style="margin-top:-25px;color:#facc2e;font-style:italic;font-family:Comic Sans MS;margin-bottom:0px;">.......care for you</h2>
<span style="font-size:12px;">Shop No. 4,5 Gandhi Market, Delhi Cantt. 110001, Delhi, India</span>
</td>
</tr>
<tr>
<td> </td>
<td style="text-align:center;padding:0px 100px 0px 0px;">
<span style="font-size:12px;">
Tel. Off. :0171-2600294,092543-60294. Resi. :2669906. Fax : 4005294<br>
Mobile: <span style="font-size:12px;">98120-60294 , </span>98960-60294.<br>
Email: eshantkapoor2010@yahoo.com<br>
Website: www.eshantkapoor.com
</span>
<hr>
</td>
</tr>
<tr>
<td style="padding-left:30px;">
<strong>Sr. No. :</strong> <span id="lblSrNo">3174</span>
</td>
<td style="text-align:right;padding-right:30px;">
<strong>Date :</strong>
<span id="lblDate">20/07/2017</span>
</td>
</tr>
</table>