Bonjour,
j'ai testé le site que je viens de créer sous flash et je me rend compte d'un petit souci au niveau du Background-image. Quand je le teste sous mac ca fonctionne bien mais quand je l'essaye sur mon pc je vois qu'il y a un décalage de 30 à 40 px.
html :
Code HTML :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="index.css" />
<title>index</title>
</head>
<body>
<div id="BA">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="900" height="50" align="middle">
<param name="movie" value="bonne_annee.swf">
<param name="quality" value="high">
<embed src="bonne_annee.swf" width="900" height="50" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>
</div>
<div id="page">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="900" height="1000" align="middle">
<param name="movie" value="index.swf">
<param name="quality" value="high">
<embed src="index.swf" width="900" height="1000" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>
</div>
</body>
</html>
Css :
Code :
@charset "UTF-8";
/* CSS Document */
#page{
margin:auto;
margin-top:0px;
width:900px;
height:1000px;
border-bottom-width:thin;
}
#BA{
margin:auto;
width:900px;
height:50px;
margin-top:auto;
}
body{
background-image:url(backround.jpg);
width:1900px;
height:1098px;
margin:auto;
background-position:center;
background-repeat:no-repeat;
}
je mets le lien où je suis en train de le tester:
avenir-hotel-vaugirard.
Merci pour votre aide