[Hampshire] Preserving CSS background-color attribute in pri…

Top Page
Author: Tony Whitmore
Date:  
To: hampshire
Subject: [Hampshire] Preserving CSS background-color attribute in print

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x567f5100.hantslug.org.uk.7717': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Wed Aug 8 12:28:51 2007 BST
gpg: using DSA key 7920DB2171B98B64
gpg: Can't check signature: No public key
Hi,

I have an XHTML page containing a table which uses the CSS background-color
attribute to set alternate rows to a grey background. This works fine on
screen but the colour is removed when printing.

I know it's possible to specify a different stylesheet for printing, but in
this case I'd like to force the same behaviour on screen as in print. Any tips
on how I do this please?

Thanks,

Tony