printing pages in browser
Moderator: General Moderators
printing pages in browser
I have 3 tables that get filled with names and addresses from a database which is to be printed off by using the browser print button. How to I make it so I can print the 3 tables on seperate pages? ie it strarts a new page when finished printing one table.
- mecha_godzilla
- Forum Contributor
- Posts: 375
- Joined: Wed Apr 14, 2010 4:45 pm
- Location: UK
Re: printing pages in browser
You need to use CSS, specifically a stylesheet for the 'print' media option. I'm sure other users will be able to give some examples but have a look at this page and report back if it doesn't do what you need:
http://davidwalsh.name/css-page-breaks
HTH,
Mecha Godzilla
http://davidwalsh.name/css-page-breaks
HTH,
Mecha Godzilla
Re: printing pages in browser
hey cool thx i didnt even know page breaks existed. will try it out later