We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to apply table border styles using InsertHtml

I am not able set table border styles using insertHtml

strHtml = "<table border=1 style='width:500px;border-collapse:collapse;border-color:grey;'>";

Hi Satish,
Thanks for your inquiry. Please try using the following html:

string strHtml = "<table border=1 style='width:500px;border-collapse:collapse;border-color:grey;' ><tr><td></td></tr></table>";

Hope, this helps.
Best regards,