Forum Moderators: not2easy
i have a page, using two stylesheets.
one with
media screen
and one with media print.
basically the pageis a table. when in screen 'mode' the background-color is set to grey/white on alternate rows.(class name odd/even)
i have the same rule in the print style, yet the backgrounds are not showing.
any ideas..?
tia
css is as follows
<style type="text/css" media="screen">
<!--
body{padding: 10px; font: normal 0.8em Verdana;}
.heading{font-weight:bold;}
.odd{background-color:#EfEfEf;color:#000000;}
.even{background-color:white;color:black;}
table{border: 1px solid black;margin-left:auto;margin-right:auto;margin-top:5px;}
input{font: normal 0.8em Verdana;}
-->
</style>
<style type="text/css" media="print">
<!--
.odd{background-color:#EfEfEf;color:#000000;}
.even{background-color:white;color:black;}
input{display:none;}
-->
</style>