p.center_space_after { text-indent: 0; margin-bottom: 1em; text-align: center; } h2.chapter_head1 { text-align: center; page-break-after: avoid; margin-top: 1em; margin-bottom: 1em; } div.space { margin-right: 1em; margin-left: 1em; } h2.chapter { text-align: center; page-break-after: avoid; margin-top: 10%; margin-bottom: 1.5em; } img { max-width: 100%; } td.spaceunder { padding-bottom: 1em; } hr{ width: 100%; }