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

Free Support Forum - aspose.com

How to apply table border styles using InsertHtml

Hi,


I am not able set table border styles using insertHtml

strHtml = “”;

builder.InsertHtml(strHtml);

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;’
"
;


Hope, this helps.

Best regards,