【发布时间】:2011-08-30 15:04:50
【问题描述】:
相关: How to get a background image to print using css?
我知道浏览器在打印时不会呈现 CSS 背景。
我正在使用 div 制作一个简单的条形图,即
<div style="width: 10px; height: 43%; background-color: blue;" title="Series A - 43%">A</div>
<div style="width: 10px; height: 55%; background-color: green;" title="Series B - 55%">B</div>
有什么方法可以为图表“着色”以使其正确打印?
【问题讨论】: