Another useful tip: Don't set the left and right margins for html or body tags to zero. If you do, Kobo (at least on iOS) will dutifully render part of the next page on the current one and won't let you go to the last page of any chapter.