Page 1 of 1
printing pages in browser
Posted: Fri Apr 23, 2010 5:54 pm
by wurdup
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.
Re: printing pages in browser
Posted: Fri Apr 23, 2010 6:48 pm
by mecha_godzilla
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
Re: printing pages in browser
Posted: Fri Apr 23, 2010 7:03 pm
by wurdup
hey cool thx i didnt even know page breaks existed. will try it out later