Home > Background Color > Background Color Not Working In Print

Background Color Not Working In Print

Contents

Thomas Permalink to comment# May 13, 2009 Almost, it took several hours to talk them out of it! Lab colleague uses cracked software. As savagecorp said, would you mind sharing how you're creating a calendar dynamically? works perfect, thanks! http://sohohosting.net/background-color/background-color-not-working-in-print-css.html

Seems like the @media print { } is working.

Heading1Heading2
Cell1Cell2
Cell3Cell4
Keep Authors may well have designed for print and only used media=“screen” to exclude certain properties from printing. However, making sure you have the correct css for printing can often be tricky. Gracias –Jason Gennaro May 9 '14 at 14:25 1 This fixed it for me. http://stackoverflow.com/questions/14987496/background-color-not-showing-in-print-preview

Webkit-print-color-adjust

Content is available under these licenses. Use: @media print { .collage_bg { background-color: #E6E7E9 !important; -webkit-print-color-adjust: exact; } } Or Check Background Graphics option: Both options working fine for me. The html on the page with the background image The Css .background-print-img{ display: none; } @media print{ .background-print-img{ background:red; display: block; width:100%; height:100%; position:absolute; left:0; top:0; z-index:-10; } Unfortunately, this can't be overridden using HTML, CSS, or JavaScript.

http://www.rickwilcox.com/shows/print.php
in the print.css file

.calendar td a {
display:block;
padding:0;
}
.a6F009F {
border-bottom:21px solid orange;
height:0;
padding:0;
}

.abb7902 {

Here it is a full printable HTML page for bootstrap: