开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜