开发者

while using window.print() the background colors for table cells not printing

开发者 https://www.devze.com 2023-01-02 00:12 出处:网络
while using window.print() the background 开发者_JS百科colors for table cells not printing Thanks for any help/solutionIf you\'re using IE, that behavior is controlled by user\'s settings. See http:/

while using window.print() the background 开发者_JS百科colors for table cells not printing

Thanks for any help/solution


If you're using IE, that behavior is controlled by user's settings. See http://support.microsoft.com/kb/296326/en-us for steps to solve this. (I don't think that a webpage can override this setting)

Edit: It looks that even this feature is buggy, erring on the side of "don't print": http://support.microsoft.com/kb/974128/en-us


I'm just guessing: I think the browser is making a decision as to how to print background colors. You can probably override it using CSS. Define print-specific styles by going:

@media print {
    /*Styles Here*/
}
0

精彩评论

暂无评论...
验证码 换一张
取 消