mekasiat
vendredi 9 février 2007 à 02:16
Tout d'abord merci pour ta réponse. Heuuu, je ne suis pas un expert en code, mais j'essaie de mettre le code là et essayer de marquer, d'après toi, ce qu'il faudrait modifier et tu me diras si c'était correct, pourrais-tu ?

/*----------- structure de base -------------*/
#conteneur {
width:960px;
height-min:600px;
margin:0 auto;
text-align: left;
padding-left:3px;
padding-right:3px;
background-image: url(images/fondc.jpg); ----------->il faut ajouter ici ce code :
background-color:black; ?
background-repeat: repeat-y;
background-position: center;
}
#header {
width:100%;
height:68px
text-align: left;
}
#menu {
width:100%;
height:20px;
margin:0;
padding:0;
background-color:black;
background-position:right;
background-repeat:no-repeat;
vertical-align:middle;
}
* html #menu {
margin-top:-2px /* attribut spcifique IE */
}
#menu li{
margin:0 5px;
display:inline;
}
#menu a{
text-decoration:none;
font-size:8pt;
color:white;
height:20px;
line-height:20px /* centre verticalement le texte */
}
* html #menu a{
line-height:18px /* attribut spcifique IE */
}
#menu a:hover{
text-decoration:underline
}
#marge_gauche, #marge_droite {
background-color:black;
}
#marge_gauche{
float:left; /* positionnement flottant gauche du conteneur */
width:110px;
height:100%
}
#marge_gauche ul, #marge_gauche li {
padding:0
}
#marge_gauche ul{
list-style-type: none;
margin:5px
}
#marge_gauche li{
line-height:15px
}
#marge_gauche a{
text-decoration:none;
font-size:8pt;
color:white
}
#marge_gauche a:hover{
text-decoration:underline
}
#marge_droite{
float:right; /* positionnement flottant droite du conteneur */
width:260px;
height:100%
}
#img_mag{
width:122px;
height:164px;
background-image: url("images/structure/magazine.jpg");
margin:0 auto
}
#content {
margin:0 294px 0 110px;
padding:0;
background:white; ---------------------------------------> le content est ici déjà blanc, non ?
}
#footer{
clear:both; /* fixe le pied de page en dessous des marges */
width:100%;
text-align:center;
font-size:7pt;
border-top:1px solid #FFFFFF;
padding-bottom:8px;
background-image:url(images/bashorz.jpg);
background-position:bottom;
background-repeat:repeat-x;
}