[css-d] tables in print.css file

2011-06-30 Thread Angela French
I'm working on a print style sheet. I'm trying to style a data table and make the row that contains the table header a very light gray so that it presents as the headings when printed. I styled as below, but it does not print with any color. Thank you for any advice.

Re: [css-d] tables in print.css file

2011-06-30 Thread Kevin A. Cameron
Shouldn't there be a space before the '!' ? Kevin __ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies --

Re: [css-d] tables in print.css file

2011-06-30 Thread Tim Duffy
Do you have a url to the page in question. I wouldnt think it would matter, but maybe there needs to be a space between #dfdbdb and !important table.PolicyHistory th { background-color : #dfdbdb !important ; } Also a stab in the dark--css is case sensitive, is PolicyHistory possibly

Re: [css-d] tables in print.css file

2011-06-30 Thread David Laakso
On 6/30/11 4:13 PM, Angela French wrote: I'm working on a print style sheet. I'm trying to style a data table and make the row that contains the table header a very light gray so that it presents as the headings when printed. I styled as below, but it does not print with any color.

Re: [css-d] tables in print.css file

2011-06-30 Thread Kevin A. Cameron
Are you testing by looking at a physical printout or a PDF? Sometimes a light grey wont be noticeable in print. You've set the media type in the style sheet link? eg: LINK REL=stylesheet TYPE=text/css MEDIA=screen, print HREF=foo.css Kevin

Re: [css-d] tables in print.css file

2011-06-30 Thread Philippe Wittenbergh
On Jul 1, 2011, at 5:33 AM, Tim Duffy wrote: I wouldnt think it would matter, but maybe there needs to be a space between #dfdbdb and !important It does not matter (as in: white-space is optional) - and it is ignored at parse time anyway (except with escaped characters). see