Fablia / index.html
Volko76's picture
Update index.html
234ea60 verified
raw
history blame contribute delete
792 Bytes
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Fablia</title>
</head>
<body>
<iframe src="https://fablia.fr" width="100%" height="100%" style="border:none;"></iframe>
</body>
</html>
<script>
// Ensure html and body are 100% height
document.addEventListener('DOMContentLoaded', function() {
// Get the html and body elements
const html = document.documentElement;
const body = document.body;
// Set height to 100% for both html and body
html.style.height = '100%';
body.style.height = '100%';
body.style.margin = '0'; // Remove default margin
body.style.padding = '0'; // Remove default padding
console.log('html and body set to 100% height');
});
</script>