Results 1 to 12 of 12
Thread: CSS and Printing: Best Practices
Aug 14, 2010, 06:15 #1
- Join Date
- Jun 2007
- 0 Post(s)
- 0 Thread(s)
CSS and Printing: Best Practices
I read several articles regarding css as it relates to printing, but several of the articles were contradicting. The following is what I gathered to be important:
- Remove Background images
- Set Background color to white
- Set text color to black
- Set serif fonts
- Remove dimensions from containers (if applicable? or it's a must?)
- Use static positioning
Alright, these are things I more or less understand, but when it comes to measurements most of the articles were very much contradictory. Some articles says to use pt, others px, em, then absolute measurements such as inches etc.
So could anyone suggest some best practices for printing?
On a side note...I was looking over compatibility charts and found that page-break-before and page-break-after properties are even supported by IE6. Should I be bothered to make use of these?
Thanks in advance.