开发者

Print MediaWiki tables in color

开发者 https://www.devze.com 2023-01-22 20:40 出处:网络
We have various tables in our wiki that use colors for different cells. However, when we print the pages (or view in print preview) the colors are not shown. Colored text is shown.

We have various tables in our wiki that use colors for different cells. However, when we print the pages (or view in print preview) the colors are not shown. Colored text is shown.

I have heard from开发者_开发技巧 a colleague that this has something to do with stylesheets (CSS?). Does anyone have the solution?


In turns out this was a browser issue.

In Internet Explorer:

  1. Go to Tools -> Internet Options.
  2. In the Internet Options pop up, select the Advanced tab.
  3. Scroll down to Printing and select Print background colors and images.
  4. Press OK.

In Firefox:

  1. Go to File -> Page Setup
  2. In the Page Setup dialog, on the Format & Options tab, select Print Background (colors & images)
  3. Press OK.

In Google Chrome: this is apparently not possible. See SuperUser questions (Chrome print background images and Printing background colours in Chrome) and this right here at StackOverflow: Print Background colours in Chrome.

0

精彩评论

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

关注公众号