最好的方法来解决CSS背景不打印 [英] Best Ways to Get Around CSS Backgrounds Not Printing
问题描述
通常CSS的背景不打印,但有时我使用它们来传达上下文信息。什么是最好的方式来绕过CSS的背景,不打印,但你真的想要显示。例子,我目前工作是一个表,显示财务信息。不同的背景颜色用于表示数字是好(例如,非常有利可图,有利可图,中性,负面,非常负面)。
两个建议:
- 表格行中的颜色代码文字
- Color-code text in the table rows
- Add color-coded icons to the beginning or end of the table rows
您甚至可以使用背景颜色将这些内容合并到正常视图中。 / p>
It often works out great that the CSS backgrounds don't print, however, sometimes I use them to convey contextual information. What is the best way for getting around CSS backgrounds that don't print but you really want to display. The example, I'm currently working on is a table that displays financial information. Different background colors are used to indicate how "good" a number is (e.g. very profitable, profitable, neutral, negative, very negative).
Two suggestions:
You could even incorporate these into the normal view with your background colors.
这篇关于最好的方法来解决CSS背景不打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!