This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I dont want to get a fixed number of rows and then page break there, because when i use the browser to change the font to a larger size, it goes to the next page. for instance, a page of a medium-sized font consists of 50 rows. if i change the font to a larger text, the 1st page will consists of 40 rows and the 2nd page is only 10 rows.