Pourquoi mon corps ne reste pas en place XHTM

raff -  
 raff -
Bonjours a tous j'ai un souci avec le corps de mon site il ne reste pas fixer comment je peux faire voiçi le code de la feuille de style

body
{
background-image: url("background1.jpeg");
width: 90%;
margin-left: auto;
margin-right: auto;
background-color: #202020;
font-family: Arial, "Times New Roman", Times, sans-serif;
}

a
{
color: white;
text-decoration: none;
}

a:hover
{
color: #cccccc;
}

#en_tete
{
width: 800px;
height: 75px;
position: none;
top: 0px;
left: 0px;
background: url("grecosims.jpeg") center no-repeat;
margin: auto;
}

#menu
{
width: 100%;
margin: left;
text-align : center;
}

.sous_menu
{
width: 750px;
margin-top: 23px;
margin-left: 200px;
float: left;
background-color: alpha;
color: white;
font-size: 20px;
}

li
{
font-size: large;
margin-right: 0px;
margin-top: 10px;
float: left;
background-color: none;
color: white;
list-style-type: none;
}

#corps
{
width: 860px;
margin-left: 0%;
margin-top: 50px;
padding: 20px;
background-image: url("background2.jpeg");
border: 2px ridge #202020;
color: white;
background-color: #211e15;
text-align: justify;
}

#pied_de_page
{
width: 900px;
clear: left;
margin-top: 500px;

color: white;
text-align: center;
}

h4
{
text-align: right;
font-family: Ariel;
font-size: 20px;
text-align: center;
font-style: normal;
}

Merci d'avance de pouvoirs m'aider

44 réponses

raff
 
Donc en gros j'avais juste sur mon code ?
0
raff
 
A non je croix avoirs compris donc je doit ajouter dans le css

#corps_partenaires
{
margin-left: 200px;
margin-top: 105px;
padding: 25px;

background-image: url("images/background_2.jpg");
background-repeat: no-repeat;
background-position: bottom center;
border: 1px ridge red;
color: black;
background-color: white;
text-align: justify;
}

Accompagnié de

div#corps_partenaires h2, h5
{
color: Pink;
text-align: center;
}

Puis dans la page partenaires je doit mettre

<div id="corps_partenaires"> au lieu de <div id="corps">

C'est ca ?
0
Dalida Messages postés 7114 Date d'inscription   Statut Contributeur Dernière intervention   923
 
banco !!!
0
raff
 
A ok j'ai fait comme ca, c'est super

Aujourd'hui j'ai pas mal avancer merci pour tout Dalida

Le problème est résolut !!
0