Update index.html
Browse files- index.html +18 -0
index.html
CHANGED
@@ -9,3 +9,21 @@
|
|
9 |
<iframe src="https://fablia.fr" width="100%" height="100%" style="border:none;"></iframe>
|
10 |
</body>
|
11 |
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
<iframe src="https://fablia.fr" width="100%" height="100%" style="border:none;"></iframe>
|
10 |
</body>
|
11 |
</html>
|
12 |
+
|
13 |
+
|
14 |
+
<script>
|
15 |
+
// Ensure html and body are 100% height
|
16 |
+
document.addEventListener('DOMContentLoaded', function() {
|
17 |
+
// Get the html and body elements
|
18 |
+
const html = document.documentElement;
|
19 |
+
const body = document.body;
|
20 |
+
|
21 |
+
// Set height to 100% for both html and body
|
22 |
+
html.style.height = '100%';
|
23 |
+
body.style.height = '100%';
|
24 |
+
body.style.margin = '0'; // Remove default margin
|
25 |
+
body.style.padding = '0'; // Remove default padding
|
26 |
+
|
27 |
+
console.log('html and body set to 100% height');
|
28 |
+
});
|
29 |
+
</script>
|