如何让Firefox打印背景颜色样式? [英] How do I Make Firefox Print a Background-Color Style?
本文介绍了如何让Firefox打印背景颜色样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一些简单的CSS:
I have some simple CSS:
#someElement {
background-color:black;
color:white;
}
在浏览器中看起来不错,但是当我在Firefox中打印时它作为在白色背景的黑文本出来。我想这是某种节省墨水的功能,但有什么办法吗?
It looks ok in the browser, but when I go to print it in Firefox it comes out as black text on a white background. I imagine this is some sort of ink-saving feature, but is there any way around it?
推荐答案
它是一个浏览器设置。没有什么你可以做你的CSS。在Windows中 - 文件>页面设置...>打印背景
。
Its a browser setting. There is nothing you can do in your CSS. In Windows - File > Page Setup... > Print Background
.
这篇关于如何让Firefox打印背景颜色样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文