Pourquoi mon corps ne reste pas en place XHTM
raff
-
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
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
A voir également:
- Pourquoi mon corps ne reste pas en place XHTM
- Mon pc s'allume mais lécran reste noir sans bip - Guide
- Bug clavier touche reste appuyé - Forum Clavier
- Place bercy - Forum Loisirs / Divertissements
- [Arobase] à la place de @ - Forum MacOS
- Mon freeplug reste rouge ✓ - Forum CPL
44 réponses
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 ?
#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 ?