I am trying to convert from an Excel spreadsheet (.xls) to html through MS Excel 2010, but I want to save the grid. Therefore, I select all cells β cell format β outline and internal borders of the preset, the normal border, black, and then export. Viewed using IE and Firefox, the borders are there. However, when viewing with chrome, the borders disappeared, and instead I see style = "border-left: none;" inside each td tag.
The purpose of this is to do an Excel preview for the web page, and it seems like the export-to-html route is probably the easiest. Does anyone know a better route?
I think the only solution could be to simply check javascript specifically for chrome and edit the left / right / top / bottom border styles in all td tags. Is something missing?
Also, is there a way to keep row numbers and column headers in the html version?
source share