<!DOCTYPE html> <html lang="fa" dir="rtl"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title></title> <style> @page { size: A4; margin: 25.4mm; } html, body { margin: 0; min-height: 100%; background: #fff; } body { font-family: 'Vazirmatn', system-ui, sans-serif; } .page { width: min(100%, 210mm); min-height: 297mm; box-sizing: border-box; margin: 0 auto; padding: 25.4mm; background: #fff; color: #000; direction: rtl; text-align: right; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; caret-color: #000; outline: none; cursor: text; -webkit-user-select: text; user-select: text; page-break-after: auto; break-after: auto; } .page:focus { outline: none; } @media print { .page { width: auto; min-height: auto; margin: 0; padding: 0; } } </style> </head> <body> <section class="page" contenteditable="true" role="textbox" aria-label="صفحهٔ خالی برای نوشتن" aria-multiline="true" dir="rtl" lang="fa" inputmode="text" spellcheck="true" ></section> </body> </html>











