This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

extra lines appearing after printing a large number of rows  RSS feed

 
erika chua
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used thead and tbody for printing a large number of rows. The header on each page is displayed but at the end of the page, there are extra lines.

example, at the end of page 1.
*the dots(.....) are supposed to be white spaces

-------------
|......|.......|
|abc | xyz |
|......|.......|
|------------
|......|.......| <----- extra lines

how can i get rid of this?

i saw an article about this: http://www.xefteri.com/articles/show.cfm?id=26
but I would still like to know if there is a way to get rid of the lines without manually adjusting the cellpadding, border, etc

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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!