947740 Posted June 22, 2009 Share Posted June 22, 2009 Am I doing something wrong in my CSS? I just want all of the tables to be on different pages when printed. <table><th>ParentName</th><th>NumberStudents</th><th>CheckIn</th><th>CheckOut</th><th>Paid</th></table> <table style='page-break-before: always;'> <tr style='background-color: silver;'> <td>Jim Jasikevicius</td> <td>5</td> <td>6/22/09 10:00</td> <td>6/22/09 15:10</td> <td>yes</td> </tr> </table> <table style='page-break-before: always;'> <tr style='background-color: #D2B48C;'> <td>Bob Knight</td> <td>1</td> <td>6/22/09 14:00</td> <td>6/22/09 15:10</td> <td>yes</td> </tr> </table> <table style='page-break-before: always;'> <tr style='background-color: silver;'> <td>Bob knight</td> <td>2</td> <td>6/22/09 15:53</td> <td>6/22/09 16:05</td> <td><a href='afterschool/paid.php?ID=41'>Paid</a></td> </tr> </table> Quote Link to comment Share on other sites More sharing options...
SuperBlue Posted June 28, 2009 Share Posted June 28, 2009 Not that i can see. Try putting the property in an external stylesheet, with media = print. I.e <link rel="stylesheet" type="text/css" media="print" href="print.css"> Quote Link to comment Share on other sites More sharing options...
947740 Posted June 29, 2009 Author Share Posted June 29, 2009 Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.