I am new to this. I am working on a project for my small company.The project is printable contracts. So far I have used PHP and Mysql to collect the data and then put in into a html page for out put (print). I am trying to us CSS to format the pages for print and have a few snags. For the most part it looks good. Except some of the browers are ignoring my page breaks. Any Idea why? Is there a better way? <div style="page-break-after:always"></div> Is there a way to set margins? I've only begun to learn CSS, PHP and Mysql, so if there is a bettter way to do what i want please tell me. ThanksRyan
CSS, PHP, MySql and Printing
in CSS
Posted
I am new to this. I am working on a project for my small company.The project is printable contracts. So far I have used PHP and Mysql to collect the data and then put in into a html page for out put (print). I am trying to us CSS to format the pages for print and have a few snags. For the most part it looks good. Except some of the browers are ignoring my page breaks. Any Idea why? Is there a better way? <div style="page-break-after:always"></div> Is there a way to set margins? I've only begun to learn CSS, PHP and Mysql, so if there is a bettter way to do what i want please tell me. ThanksRyan