This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff 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.