They want the report titles to be color coordinated, which I was able to do easily by including this information in either TR or TD sections and spedifying their color using a css file. However, whenever they print out the report to sent it along, the colors do not show up.
I could tell them they have to set their browsers every time to print backgrounds, then change the settings back whenever they get finished, but that seems like a failure on the developer's part (that's me).
Philipp Lenssen on TheScripts.com mentioned writing a custom style sheet, but failed to say how this would be done - and that was 2-1/2 years ago!
Could someone help me modify my css file to include a print section that will allow my TR and TD background-colors to print?
I have started with this:
- Code: Select all
@media print
{
#content
{
width:90%;
font-size:10pt;
}
#footer
{
display:none;
}
}
Thanks very much in advance if you do!




