Probleme bottom avec une div
Bonjour tout le monde,
j'ai une div "conteneur" qui contient la plupart de mes autres div. J'arrive à déplacer ce conteneur à 5px du bord du haut
mais cela ne fonctionne pas pour le bord du bas.
Voici le code css :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
| body
{
background-color:#EEEEEE;
}
/* Le conteneur */
#conteneur
{
position:absolute;
width:972px;
background-color: #EEEEEE;
left:50%;
margin-left: -486px;
top:5px;
bottom:10px;
}
/* L'en-tête */
#en_tete
{
width:972px;
height:100px;
background-image:url(Images/essai.jpg);
background-repeat:no-repeat;
}
/* Le menu */
#barre_menu
{
}
dl, dt, dd, ul, li
{
margin: 0;
padding: 0;
list-style-type: none;
}
#menu
{
position:absolute;
}
#menu dl
{
float: left;
width: 162px;
}
#menu dt {
cursor: pointer;
text-align: center;
font-weight: bold;
background: #CCFFCC;
border: 1px solid black;
}
#menu dd
{
border: 1px solid black;
}
#menu li
{
text-align: center;
font-weight:bold;
background: #EEEEEE;
}
#menu li a, #menu dt a
{
color: #000;
text-decoration: none;
display: block;
height: 100%;
border: 0 none;
}
#menu li a:hover, #menu dt a:hover
{
background: #CCFFCC;
}
a
{
text-decoration: none;
color: black;
color: #222;
}
/* Le corps de la page */
#corps
{
color:#000000;
background-color:#CCCCFF;
padding-top:15px;
padding-left:7px;
padding-right:7px;
padding-bottom:7px;
}
/* Le pied de page */
#pied_de_page
{
text-align:center;
color:#000000;
height:22px;
background-image:url(Images/footer_972.jpg);
bottom:50px;
} |
Quelq'un peut-il m'aider ?
Merci