Hi Listees,

I have a one year calendar, where each day is a table cell. I have CSS and php controlling the visual presentation of it. If a day is 'booked' it is assigned to be an event and shows up via a CSS class thus:

.event {
   color: #666;
   background-color: #666;
   etc
}

in other words, the day appears as a grey block. That's fine, but I want to be able to print out the calendar, and (of course) if the user has background printing turned off, nothing appears apart from the text. My question, then, is can one check to see (DOM?) if the background is #666; and if so, can the content be changed to 'n/a' (or something) in the printout, so all users get a meaningful print?

Or, has anyone got any other brilliant ideas to solve this?

--
Best Regards,

Bob McClelland

Cornwall (UK)
www.gwelanmor-internet.co.uk




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to