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

Page principale
Auteur: Tony Whitmore
Date:  
À: hampshire
Sujet: [Hampshire] Preserving CSS background-color attribute in print

Répondre à ce message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x5810f100.hantslug.org.uk.4813': 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