Bonjour,
J'ai un flash centré sur une page...et je voudrais mettre une image de remplacement dans le cas où ce flash ne s'afficherait pas.
Voici mon code CSS:
Et voici mon code Html:
Mon souci c'est que l'image apparaît en haut a gauche (sous IE5)
.
j'ai bien essayé de mettre un background-image a object mais...elle apparait puis disparait (sous IE5)
...
Suis preneur de tout conseil avisé...
Ziad O'Hanlon
Modifié par ziad270 (22 Apr 2005 - 15:01)
J'ai un flash centré sur une page...et je voudrais mettre une image de remplacement dans le cas où ce flash ne s'afficherait pas.
Voici mon code CSS:
body, html {
background-color:white;
}
object {
position: absolute;
top: 50%; left: 50%;
margin-left: -210px;
margin-top: -80px;
}
Et voici mon code Html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title>Falsh Centré</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="macss.css" media="screen" title="Macss (screen)" />
</head>
<body>
<object type="application/x-shockwave-flash" data="images/monflash.swf" width="420" height="160">
<param name="movie" value="images/monflash.swf">
<param name="wmode" value="transparent" />
<img src="images/monimage.png" width="420" height="160" alt="image" title="Mon Image"/>
</object>
</body>
</html>
Mon souci c'est que l'image apparaît en haut a gauche (sous IE5)

j'ai bien essayé de mettre un background-image a object mais...elle apparait puis disparait (sous IE5)

Suis preneur de tout conseil avisé...

Ziad O'Hanlon
Modifié par ziad270 (22 Apr 2005 - 15:01)