CSS使用iTextSharp将HTML转换为PDF时不适用。我有一个单独的CSS文件。 [英] CSS Not applying when using iTextSharp to convert HTML to PDF.I am having a separate CSS file.

查看:174
本文介绍了CSS使用iTextSharp将HTML转换为PDF时不适用。我有一个单独的CSS文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



使用iTextSharp将HTML转换为PDF时,CSS不适用。请帮忙。我有一个单独的CSS文件。

谢谢

Hi,
CSS is Not applying when using iTextSharp to convert HTML to PDF.Please help. I am having a separate CSS file.
Thank You

推荐答案

您是否看过这里讨论的类似问题(看起来类似于解决):

不使用iTextsharp.dll生成PDF时应用CSS [ ^ ]

itextsharp - CSS未应用 - C#.NET [ ^ ]
Did you had a look at these similar issues discussed here (looks similar and resolved):
Not applying the CSS while generating PDF using iTextsharp.dll[^]
itextsharp - CSS not getting applied - C# .NET[^]


我有问题,样式不适用于桌面tr td。请帮我解决iTextsharp中的这个问题。 (将html转换为pdf - 在html中我可以看到代码已应用但写入pdf其

没有发生)。



条件:何时我下载单个pdf工作正常。但是当我下载多个pdf下载

进行单击时,则会应用样式。即例如

style ='border-right-style:solid; border-right-width:1px; border-right-color:#000000; width:476px;'。



请帮助,如果你知道



谢谢

Ram
I have problem, styles not applying on table tr td. Please help me for this problem in iTextsharp . (converting html to pdf - in html i can see code its applied but writing to pdf its
not happening).

condition : when i download single pdf its working fine. but when i download multiple pdf downloads
for single click then style are getting applied . i.e . e.g
style='border-right-style: solid; border-right-width: 1px;border-right- color:#000000;width: 476px;'.

please help if you know

Thanks
Ram


这篇关于CSS使用iTextSharp将HTML转换为PDF时不适用。我有一个单独的CSS文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆