An embedded image is not visible after converting the attached XLSX files to HTML.
When opening the generated HTML in Chrome or Firefox shows the fine, but in our embedded browser control one of the images is not shown.
After analyzing the HTML, we found out this problem was coming from a TD element being on the same z-index as the image.
The image “image000”, or to be more specific the SPAN containing this image has a z-index of 0:
image.png (3.2 KB)
This is also the default for the TD element (as nothing is specified there).
Now it is up to the browser to decide if the image is above or below the TD.
In our case, it’s unfortunately below…
You can see here the image not being visible:
td overlapping.png (88.5 KB)
And here you can see it visible, because transparency was added to the TD element:
td transparent.jpg (206.8 KB)
We would recommend starting z-index for images at 1 and not at 0 when generating the HTML,
but we’re also happy with any other solution that resolves this issue.
We were using GroupDocs.Viewer 21.8 to generate this HTML, but the same problem seems to happen with 21.9.
Excel z-index overlapping.zip (1.9 MB)