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 11in; margin: 0; } body{ margin:0; } div{ /* 11in / 13in = 0.8461538 */ height: 200px; width: 200px; background: blue; } </style> </head> <body> <div></div> </body>