I think the problem has to do with my body statement in my css. I followed the suggestion in:
https://wiki.mobileread.com/wiki/CSS_HowTo#Essentials
and included html in my body statement:
Code:
body, html {
/* Basic Styling for HTML and BODY Sections of a File */
border-width: 0;
height: 100%;
margin: 0;
orphans: 1;
padding: 0;
widows: 1;
}
If I pull the ", html" bit off (leaving just body), the Viewer behaves normally. Well, more normally. Without including "html," the Viewer's margin settings override the book's css margin settings. With the "html" settings, the book's margins apply, but the right and bottom margins are ignored. Unfortunately, I'm not knowledgeable enough to know if that's correct behavior.