I have a question about printing with CSS. I need to create invoice for my customer. I used CSS's absoulte position to set up the location of the element. However, i can't get it work for me. The problem is i don't know where is the second page start. I need to know exactly which pixel divide the first page and second page. Anyone have idea with this one?
Hmm. I don't know if it's possible to know where the page ends since it will depend on a printer's resolution if you're using pixels. CSS supports Inches as a unit of measurement, this is probably what you'll want to use for Print. And fonts should be sized using pt. Here's an article on styling CSS for print, maybe it's helpful? Here is another article from W3. ian