4. Sınıf Fen Bilimleri İnsan ve Çevre Ünitesi Görseller

4. Sınıf Fen Bilimleri İnsan ve Çevre Ünitesi
 '); doc.close(); const style = doc.createElement('style'); style.textContent = 'body{margin:0;display:flex;justify-content:center;align-items:center;min-height:100vh;}img{max-width:100%;max-height:100vh;object-fit:contain;}@media print{body{margin:0;}}'; doc.head.appendChild(style); const img = doc.createElement('img'); img.src = imageUrl; img.onload = function () { printWindow.focus(); printWindow.print(); printWindow.close(); }; img.onerror = function () { printWindow.close(); }; doc.body.appendChild(img); };