.imgepub { max-width: 100%; } .centerAligned { text-align: center; margin-top: 1.5em; margin-bottom: 1.5em; } body { margin-right: 25px; } .cover_image { margin-top: 0em; margin-bottom: 0em; text-align: center; } .cover .illustype, .cover .illustype_image, .cover .illustype_image_net, .cover .illustype_image_tab, .cover .illustype_image_text, .cover .illustype_image_text_net, .cover .illustype_image_math, .cover .illustype_image_deco, .cover .illustype_image_deco_net, .cover .image_orig_tab { margin-top: 0em; margin-bottom: 0em; page-break-inside: avoid; display:inline-block; } .cover img, .titlePage img { height: 100%; } .img { max-width: 100%; max-height: 100%; }