开发者

I am using “@media print” for printing my html page. Here I am getting problum with background color is not visible of modelbox

开发者 https://www.devze.com 2023-03-31 22:13 出处:网络
I am using “@media print” for printing my html page. Here I am getting problum with background开发者_Go百科 color is not visible of modelbox, when I am trying to print my html page.

I am using “@media print” for printing my html page. Here I am getting problum with background开发者_Go百科 color is not visible of modelbox, when I am trying to print my html page.

FF, Chrome is working fine but IE7 and IE8 it go off. Here is the link : http://jsfiddle.net/9BmXv/

attached screenshot is print preview of html.

I am using “@media print” for printing my html page. Here I am getting problum with background color is not visible of modelbox


Browsers usually have a user preference along the lines of "Print backgrounds" which is turned off by default (to avoid burning through vast amounts of ink). This cannot be overridden by page authors.

Consequently, print designs should almost always aim for a plain white background.

With a design like that, since the main content is covered up, you probably should display: none the main content so you are just printing the area you care about.


It's a setting in IE. I don't think there's a great deal you can do about it other than design your page to work well when printed with white / transparent backgrounds

I am using “@media print” for printing my html page. Here I am getting problum with background color is not visible of modelbox

0

精彩评论

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

关注公众号