jhatter
05-18-2011, 01:49 PM
Hi,
I am creating a print style sheet (for the first time) but the css & html is not giving the result I require.
When I print to my HP C3100, the colour backgrounds in the individual cells don't print, although it looks fine on screen.
Any ideas how I can get it to print with the colour backgrounds?
For the HTML please visit (too many characters to copy & paste below):
http://www.johnhathway.co.uk/maplesv2/test_calendar.html
table { margin-left: 25px; margin-bottom: 15px; border-collapse: collapse; font-size: 12px; text-align: center; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal; color: #ffffff;}
td, th {
padding: .3em .4em;
border: 1px #00107f solid;
}
thead { background: #00107f; color: #ffffff; }
tbody { background: #ffffff; color: #00107f; }
#calendarcolumn { float: left; width: 700px; margin-bottom: 35px; margin-left: 25px; }
.ns { background-color: #e4e4d3; }
.ns1 { background-color: #e4e4d3; color: #e4e4d3;}
.hol { background-color: #1e52fc; color: #ffffff;}
.halfday { background-color: #00107f; color: #ffffff;}
.titleholder { margin-left: 25px; margin-bottom: 15px; color: #000000; font-size: 13px; }
I am creating a print style sheet (for the first time) but the css & html is not giving the result I require.
When I print to my HP C3100, the colour backgrounds in the individual cells don't print, although it looks fine on screen.
Any ideas how I can get it to print with the colour backgrounds?
For the HTML please visit (too many characters to copy & paste below):
http://www.johnhathway.co.uk/maplesv2/test_calendar.html
table { margin-left: 25px; margin-bottom: 15px; border-collapse: collapse; font-size: 12px; text-align: center; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal; color: #ffffff;}
td, th {
padding: .3em .4em;
border: 1px #00107f solid;
}
thead { background: #00107f; color: #ffffff; }
tbody { background: #ffffff; color: #00107f; }
#calendarcolumn { float: left; width: 700px; margin-bottom: 35px; margin-left: 25px; }
.ns { background-color: #e4e4d3; }
.ns1 { background-color: #e4e4d3; color: #e4e4d3;}
.hol { background-color: #1e52fc; color: #ffffff;}
.halfday { background-color: #00107f; color: #ffffff;}
.titleholder { margin-left: 25px; margin-bottom: 15px; color: #000000; font-size: 13px; }