Print MediaWiki tables in color
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:
- Go to Tools -> Internet Options.
- In the Internet Options pop up, select the Advanced tab.
- Scroll down to Printing and select Print background colors and images.
- Press OK.
In Firefox:
- Go to File -> Page Setup
- In the Page Setup dialog, on the Format & Options tab, select Print Background (colors & images)
- 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.
精彩评论