You have an application that draws a div with the background color as its graphics.
These divisions appear on the screen, but div disappear when printing in PDF format.
Tracks the issue to Twitter Bootstrap CSS. Divas print fine if Bootstrap CSS is missing. But do not print when it is. See This JSFiddle:
http://jsfiddle.net/VYg9s/
I think the problem is this section of CSS CSS. I think I need to redefine background: transparent !important , but life cannot understand for me how to do this.
This is apparently simple. I tried background: opaque !important , but it did not work, and I can not find a list of valid values for the background property.
@media print { * { color: #000 !important; text-shadow: none !important; background: transparent !important; box-shadow: none !important; }
What is the opposite of background: transparent !important; in CSS?
css twitter-bootstrap twitter-bootstrap-3
prototype
source share