Found as problematic in early 2013, reported as bugs to all browser vendors then, but still problematic.
Set up: You want an icon image - here it is a 'marker' - with some generated Text on it.
To have the Icon/image printed, it is NOT a background image, as that would not be printed by default.
The image is in the source as an image, absolutely positioned behind the text.
Problem: If you have a set up like below, a small image with some text on it, Browsers change the Link color when printing.
For Screen all colors should be white, in print they should be: white, red, white.
The outcome:
The html:
<a href="#"> <img src="printbug/marker-black.png"> 2 </a>The CSS:
a { position: relative; display: block; width: 27px; height: 38px; text-align: center; padding-top: 5px; color: #fff; text-decoration: none; } a img { position: absolute; top: 0; left: 0; z-index: -1 }In the external print stylesheet: In the second example the color is set to red