I created a simple HTML and CSS site for private purposes, but have realized that neither Firefox nor IE show the background color I added when in print preview.
The question is simple: How can I print the website and keep the background color?
For anybody interested, here’s the code:
body
{
background-color: rgb(100, 210, 60);
}
I have created a separate style sheet for print media, but that too ignores the background color. I know it’s not very ink-friendly to print a whole page a specific color, but I would like to enable this for just one time.
I believe this is a client browser specific setting and not controllable by the web developer. Clients have the option to select to show backgrounds. A workaround would be have the image in a layer behind the content.