@page { /*size: 8.5in 11in !important;*/ size:"A4"; bleed: 0 !important; /*padding: 0 !important;*/ /*margin: 0 !important;*/ margin: 0; padding: 15mm 0mm 15mm 0mm; } html,body{ margin: 0 !important; padding: 0 !important; font-family: monospace; font-size: 14px; /*background-color: silver;*/ text-align: center; } div#coverpage{ height: 100%; width: 100%; /*margin: 0;*/ /*background-color: silver;*/ } div#scorecontentpage{ margin:auto; color: black; text-align: center; width: 70%; } div.scorenumber{ font-size: 3em; /*background-color: silver;*/ margin: 45% auto 0 auto; width: 50%; border: 0.5mm solid black; padding:2mm 0 2mm 0; /*position: fixed;*/ } img{ max-width: 20mm; } div.author{ margin-top: 5%; font-size: 1.5em; } div.publisher{ margin-bottom: : 3mm; margin-top: 57.5%; } div.time{ margin-top: 1mm; } div#scorecontentpage{ /*padding-top: 50px;*/ margin:auto; color: black; text-align: left; width: 60%; }