Print bgcolors in table
| From: | Lars Espelid | Date: | Sun, 15 Dec 2002 23:20:13 +0000 |
| Subject: | Print bgcolors in table | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-128356@lists.php.net to get a copy of this message | ||
Hello,
I have been looking for a newsgroup where I can post questions about
css/html. I did not find any. Any suggestions?
If you want a break from php, my problem is as follows:
Have got a table in html with different background colors on the rows. When
I print the page to my printer, the colors won't show. I have tried to
specify output media, but it won't work. Tried f.ex. this:
in print.css:
@media print {
TR.graaOver { BACKGROUND-COLOR: #E5E5E5; }
}
in report.html:
.........
<link href="../print.css" rel="stylesheet" media="print, screen"
type="text/css">
</head>
<body>
<table>
<tr class="graaOver">
..........
thanks,
Lars