开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜