Yes, declaring a doctype changes the html rendering algorithm (to an obsolete one), which causes the height='100%' to actually be rendered with a height greater than the page height, so the viewer compensates by forcing the image to be alone on a page, and setting its display to block. This prevents the image from being broken up onto two pages.
Either dont uses doctypes, they are pointless, legacy cruft or use margin-left:auto and margin-right:auto with display:block to center you image.
|