Where to implement a Page Break to print an HTML report

liunx

Guest
Hi!

I need to print a report generated in HTML, but I have a big problem and that's: How can I determine where to implement a Page Break? there's any way to do that with CSS?

I mean, the different FONT-SIZE of the variable datagroups makes that the page break shouldn't be placed always in the same place... so... how can I determine where should be necessary to implemente a page break?

Also I would like to know:

- Can I adjust the margins (top, left, right an bottom) of a document using CSS?
- Can I customize the header and footer of a printed document?

Thanks!Don't know if I can help with parts 1 and 3 of your question but part 2 definitely.


body {
margin: 5px 4px 3px 2px;
}


sets each of the four sides starting with the top and rotating around clockwise (top, right, bottom, left) of any element in CSS be it body, table, div, h1, whatever.- Can I customize the header and footer of a printed document?
Thanks!

If anyone knows how to do this let me know...I actually need to just get rid of them...(using CSS of course)
 
Back
Top