1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<!DOCTYPE html> <head> <style> @page { size: 8.5in 13in; margin: 0; } body{ margin:0; } div{ /* 13in / 11in = 1.1818181... */ height: calc(1.1818182 * 200px); width: calc(1.1818182 * 200px); background: blue; } </style> </head> <body> <div></div> </body>