I am using itextsharp to convert html table to pdf.
It working fine but the width property is not working in PDF. Means when you change fix the width of column of a table to 20% or 20px its not reflecting on PDF .
How to set the width of column in PDF?
My Code :
"<table border='1'>"
+ "<thead><tr>"
+ "<th style='width:10%;'>ID</th>"
+ "<th style='width:70%;'>Testing Point</th>"
+ "<th style='width:20%;'>Notes</th>"
+ "</tr></thead></table>"
Above code is showing table with border but total width of PDF is divided into 3 part. Each cell taking same width.
How can i fix the width of a table so that it will take user defined column width.
Please Help
Thanks