阅读背景:

iText 7可从HTML获取PDFs:如何在使用display: table时避免表标记;

来源:互联网 

I am working on an ASP.NET MVC project which converts a view to a PDF. Previously, Rotavia was used, but then a new client requirement is that the PDF be accessible/508-compliant. For layout purposes, the previous developer had a whole header section (logo, title, disclaimer, etc) as a table without th elements (just td). I needed to convert them to divs but keep the look the same. So, what I did was made them divs and then used the CSS properties, display: table, display: table-row-group, display: table-row, and display: table-cell where appropriate. It ended up looking pretty much exactly the same.I am working on an ASP.NET MVC project which co




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: