sug*_*ddy 5 css pdf coldfusion
我正在使用边框折叠(CSS)在我的桌子上制作薄边框.它们在屏幕上渲染得很好,但是当它们通过cfDocument发送到PDF时,它们最终会变成更厚的灰色边框.
我读到cfDocument还不支持边界崩溃,所以我最好的选择是什么?
ColdFusion 9
表格都是 90 年代的,但这似乎适用于 cfdocument pdf(尽管在网络浏览器显示上不一致):
.tbl {background-color:#000;}
.tbl td,th,caption{background-color:#fff}
Run Code Online (Sandbox Code Playgroud)
...
<table cellspacing="1" class="tbl">
...
</table>
Run Code Online (Sandbox Code Playgroud)
(样式设置中的边框间距不起作用 - 您必须将 attr 放在 table 标签中)