voila je comprend pas pourquoi mon image de droite div bandeau-avion(avion )
ne colle pas a gauche et en haut comme les autres ,
Le rendu
EDIT par Igor : attention à ne pas afficher d'images géantes qui déforment le forum. Merci d'utiliser le bouton "créer une miniature" lorsque vous chargez une image.
Le html
la css
Modifié par nebil (06 Aug 2006 - 23:48)
ne colle pas a gauche et en haut comme les autres ,
Le rendu
EDIT par Igor : attention à ne pas afficher d'images géantes qui déforment le forum. Merci d'utiliser le bouton "créer une miniature" lorsque vous chargez une image.
Le 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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans nom</title>
<link rel="stylesheet" type="text/css" href="css.css" />
</head>
<body>
<div id="contener">
<div id="bandeau">
<div id="logo"></div>
<div id="pub"></div>
<div id="bandeau_bas"></div>
<div id="bandeau_avion"></div><!-- ferme div bandeau avion -->
</div> <!-- ferme div bandeau -->
</div> <!-- ferme div contener -->
</body>
</html>
la css
html , body {
font:Arial, Helvetica, sans-serif;
font-size:13px;
margin-left: 0px;
width:100%;
}
#contener{
background-color:#CCCCCC;
width:955px;
height:500px;
margin-left:0px;
}
/*////////////////////////////////////////////////////////////////
// Le bandeau //
////////////////////////////////////////////////////////////////*/
#bandeau{
width:955px;
height:139px;
background-color:#00CC66;
float:left;
}
#logo{
background-image:url(images/bandeau_logo.gif);
background-repeat:no-repeat;
width:254px;
height:139px;
display:block;
float:left;
}
#pub{
background-color:#CCCC66;
width:468px;
height:70px;
float:left;
}
#bandeau_bas{
background-image:url(images/bandeau_bas.gif);
background-repeat:repeat-x;
width:468px;
height:69px;
float:left;
}
#bandeau_avion
{
background-image:url(images/bandeau_avion.gif);
background-repeat:no-repeat;
width:233px;
height:139px;
float:right;
}
Modifié par nebil (06 Aug 2006 - 23:48)