Bonjour,
J'ai un soucis avec mon iframe, un rectangle assez moche apparaît à l'écran alors que l'iframe marche très bien.
Voici le code :
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <link href="css/style.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="frame"> <iframe width="600" height="400" frameborder="0" marginheight="0" marginwidth="0" src="main.html"></iframe> <iframe style='visibility:visible' ></iframe> </div> <div class="bouton"> <img src="images/bouton.png" onclick="document.getElementsByTagName('iframe')[0].style.visibility = (document.getElementsByTagName('iframe')[0].style.visibility=='hidden')?'visible':'hidden'" value='click' /> </div> </body> </html>
Merci d'avance pour le temps accordé.
Partager