Sustainable Hire body { font-family: 'Helvetica Neue', Arial, sans-serif; background-color: #fff; color: #000; margin: 0; padding: 0; } .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 20px; box-sizing: border-box; } iframe { width: 100%; height: 100vh; border: none; } @media (max-width: 768px) { iframe { height: 80vh; /* Adjust height for mobile view */ } } @media (max-width: 480px) { iframe { height: 60vh; /* Further adjust height for smaller screens */ } }
document.getElementById('sustainable-hire-iframe').onload = function() { console.log('Iframe loaded successfully.'); }; // Additional debugging for load errors document.getElementById('sustainable-hire-iframe').onerror = function() { console.error('Failed to load iframe.'); };