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

Inizio della pagina
Autore: Tony Whitmore
Data:  
To: hampshire
Oggetto: [Hampshire] Preserving CSS background-color attribute in print

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57766100.hantslug.org.uk.20787': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: verify signatures failed: Unknown system error
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