It made me crazy all day. First, I went down the route of print settings, before I realized that the option "Print background and image colors" was disabled in IE, which turned me off.
The latest test code I used:
<html>
<style type="text/css">body{font-family:Courier;}pre{display:inline;}</style>
<body>
<b><font color="#FFFF00">this is a test</font></b><br/>
</body>
</html>
When viewed in IE, βthis is a testβ is displayed in bright yellow. However, when printing or even previewing the images, this showed up in what I would call dirty yellow. The same is true if I export to PDF via a virtual PDF printer. If I turn on "Printing colors and background images", then yellow is used, but I understand that from what I read, this option cannot be set programmatically.
It is not only yellow, many similar colors turn out to be the same with each other in the print preview, and I need to shade things according to breaking errors, so we canβt just use the ones that are very different.
So how to get around this ??? I donβt understand why setting the background colors affects the foreground text like this (unless I can make it highlight it? My HTML is very simple and has not been used for several years ...)
Cheers for any help
source
share