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

トップ ページ
著者: Tony Whitmore
日付:  
To: hampshire
題目: [Hampshire] Preserving CSS background-color attribute in print

このメッセージに返信
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57685100.hantslug.org.uk.28899': 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