Site selon la résolution de l'écran

El__Dje Messages postés 3 Date d'inscription   Statut Membre Dernière intervention   -  
notobe Messages postés 1952 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,

Je cherche à créer un site qui serait adapté à la résolution de l'écran de l'utilisateur, j'ai essayé différentes méthodes mais j'ai toujours ce fameux cadre noir tout autour de mon objet. Existe-t-il une solution ?

<!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=iso-8859-1" />
<title>ACCUEIL</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
text-align: center;
background-color: #000000;
}
</style>
</head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" height="602" width="1366">
<param name="movie" value="intro.swf" />
<param name="quality" value="high" />
<embed src="intro.swf" quality="high" pluginspage="https://get.adobe.com/flashplayer/" type="application/x-shockwave-flash" height="602" width="1366"></embed>
</object>
</body>
</html>

Je vous remercie.

A voir également:

2 réponses

bugs2010
 
Salut,

<!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=iso-8859-1" />
<title>ACCUEIL</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
text-align: center;
background-color: #000000;
}

#contenu {
width:100%;
height:100%;
background-color:#000000;
padding:0px;
margin:0px;
}
</style>
</head>
<body>
<div id="contenu>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" height="602" width="1366">
<param name="movie" value="intro.swf" />
<param name="quality" value="high" />
<embed src="intro.swf" quality="high" pluginspage="https://get.adobe.com/flashplayer/" type="application/x-shockwave-flash" height="602" width="1366"></embed>
</object>
</div>
</body>
</html>
0
El__Dje Messages postés 3 Date d'inscription   Statut Membre Dernière intervention  
 
Merci pour la réponse mais j'ai toujours un cadre noir autour, et la page n'est pas adaptée à différentes résolutions.
0
notobe Messages postés 1952 Date d'inscription   Statut Membre Dernière intervention  
 
Que veux-tu au juste ? Que l'anim flash prenne toute la page ? Si oui, faut pas définir sa taille à 602 par 1366...
0
bugs2010
 
<!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=iso-8859-1" />
<title>ACCUEIL</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
text-align: center;
background-color: #000000;
}

#contenu {
width:100%;
height:100%;
padding:0px;
margin:0px;
}
</style>
</head>
<body>
<div id="contenu>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" height="100%" width="100%">
<param name="movie" value="intro.swf" />
<param name="quality" value="high" />
<embed src="intro.swf" quality="high" pluginspage="https://get.adobe.com/flashplayer/" type="application/x-shockwave-flash" height="100%" width="100%"></embed>
</object>
</div>
</body>
</html>
0