HTML to Excel - Missing borders

Hi,

I was hoping someone may point me in the right direction. We current convert HTMl into Excel and are having issues with the cell borders not appearing.

Sample HTML:
td{border:solid 1px grey;}
col1 col2
col1 col2
col1 col2
col1 col2
col1 col2

Outcome:
See attachment.

Thank you and I eagerly await your reply.

kelvin

Hi Kelvin,


Thank you for contacting Aspose support.

Please note, Aspose.Cells APIs can load HTML files for possible conversion to spreadsheet formats, however, the fidelity depends on the structure of the HTML file. If you wish 100% fidelity then the HTML should correspond to the Excel standards. Please save your HTML code in a file and load it with Excel application, you will notice that borders are not shown. Now apply the borders in Excel and save it in HTML format. When you load this HTML with Aspose.Cells APIs and save it in any of the supported spreadsheet formats, the borders will appear fine.