将 HTML 页面转换为 PDF 时出现图片重叠问题
我想重叠图片,但它不起作用,我需要一些帮助。
这是我要转换的页面的链接: http://9m9.com/innovative/sample/two.html
我想转换将此页转换为 PDF。您可以看到小图像与大图像重叠。
在该页面中,您可以单击链接将页面转换为 PDF。
http://citysoftsolutions.com/eclients/virtualtour/view_property_images.php ?pid=9&uid=67
正如你所看到的,图像被放置在大图像的后面。
我正在使用此转换器脚本: http://mpdf.bpm1.com/
I want to overlap pictures, but it is not working and I need some help.
Here's the link to the page I'd like to convert:
http://9m9.com/innovative/sample/two.html
I want to convert this page to a PDF. You can see the small image overlapping the bigger one.
This is the page where you can click on a link that will convert the page to PDF.
http://citysoftsolutions.com/eclients/virtualtour/view_property_images.php?pid=9&uid=67
As you can see the image is placed behind the big image.
I'm using this converter script: http://mpdf.bpm1.com/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我使用 PrimoPDF 驱动程序打印它时,效果很好。最后一张图片很容易被覆盖。所以您正在使用的脚本肯定存在错误。
我有什么建议?
旁注有
件事告诉我,您实际上想做的是创建 PDF 传单/促销材料或其他内容。如果这确实是您所追求的,我建议您使用一些专门用于此类工作的软件来完成此操作。 Microsoft Office Word 就可以,但您最好使用其他软件。如果是一页传单,您可以使用 Adobe Illustrator 或 CorelDraw。但如果它是一个实际的多页文档,请使用 Word 或 Adobe InDesign 等软件。
Word 可能是您可以轻松掌握的东西。所以就选择那个吧。
When I printed it using PrimoPDF driver it came out just fine. Last image was easily laid over. So there must be a bug with the script you're using.
What do I suggest?
On a sidenote
Something's telling me that what you'd actually like to do is to create a PDF flyer/promo material or something. If that's actually what you're after I suggest you do that using some software that's meant for such a job. Microsoft Office Word will do, but you'll better off using some other. If it's a one page leaflet you could use Adobe Illustrator or CorelDraw. But if it's going to be an actual multipage document use something like Word or Adobe InDesign.
Word is probably something you can easily master. So go with that one.