The image captured with html2canvas lacks part of the content than the original web page, and the dom element sets the absolute.

the picture captured with html2canvas is missing part of the content than the original web page.

Does

have anything to do with setting up position:absolute and z-index on the original page?

the effect is shown in the figure
clipboard.png


clipboard.png

clipboard.png

clipboard.png

table and img are wrapped in div, and a large number of position:absolute and Zmuri indexs are set up. Does this have anything to do with it?

Apr.01,2021

pictures are not of the same origin. You need to add useCORS: true to allow images to cross domains; http://html2canvas.hertzen.com/configuration

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35a95-2bf97.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35a95-2bf97.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?