Pas de couleur de fond sur IE : background

kataVB Messages postés 31 Date d'inscription dimanche 18 novembre 2007 Statut Membre Dernière intervention 11 décembre 2009 - 11 août 2008 à 11:51
Renus02 Messages postés 182 Date d'inscription jeudi 20 mai 2004 Statut Membre Dernière intervention 22 octobre 2010 - 11 août 2008 à 15:30
boujour tout le monde

mon problème est le suivant : sur internet explorer je ne vois pas la couleur de fond ( c'est blanc) alors que sur Firefox n'y a pas de souci tout marche bien.
voila mon fichier css :

@charset "UTF-8";
/* CSS Document */

body {
    background-color: #999999;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    margin: 0px;
    padding: 0px;
    font-size: 10px;
}
h1 {
    padding: 0px;
    margin-bottom: 15px;
    margin-top: 0px;
    margin-right: 0px;
    margin-left: 0px;
}
h2 {
    margin: 0px;
    padding: 0px;
    top: 517px;
    position: absolute;
}
h3 {
    padding: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 5px;
    margin-left: 0px;
    color: #3366FF;
}
h4 {
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 20px;
    margin-top: 25px;
}
h5 {
    font-size: 10px;
    font-weight: bold;
    color: #3366FF;
    margin: 0px;
    padding: 0px;
}
p {   
   
    padding: 0px;
    color: #000000;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 15px;
    margin-left: 0px;
    font-weight: normal;
}
img {
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    margin: 0px;
    padding: 0px;
}
a:link {
    color: #000000;
    text-decoration: none;
}
a:visited {
    color: #3366FF;
    text-decoration: none;
}
a:hover {
    color: #3366FF;
    text-decoration: none;
}
a:active {
    color: #3366FF;
    text-decoration: none;
}

#wrapper {
    border: 0px solid #3366FF;
    height: 460px;
    width: 810px;
    overflow: auto;
    margin-top: 65px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
}

#hom_banner {
    margin-top: 30px;
    margin-bottom: 15px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
}
#hom_adresse {
    margin-left: 55px;
    margin-right: 20px;
}
#menu_l1 {
    padding-bottom: 10px;
    margin-left: 15px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
}
#tex_presentation {
    border: 1px solid #3366FF;
    height: 365px;
    width: 502px;
    overflow: auto;
    float: right;
    padding: 5px;
    line-height: 1.4em;
}
#pix_presentation {
    margin-bottom: 15px;
    border: 1px solid #3366FF;
}
#image_adresse{
    border: 0px solid #3366FF;
    margin-top: 0px;
    height: 55px;
    width: 810px;
    margin-left: auto;
    margin-right: auto;
}
#image1 {
    float : left;
    margin-left : 10px;
}
#image2 {
    float : right;
    margin-right : 10px;
}
#liens {
    float: right;
}
#des_liens {
}

merci d'avance

3 réponses

Evangun Messages postés 1980 Date d'inscription dimanche 20 février 2005 Statut Membre Dernière intervention 24 septembre 2012 4
11 août 2008 à 14:52
Salut,

essaie background: #999999;

à+
0
kataVB Messages postés 31 Date d'inscription dimanche 18 novembre 2007 Statut Membre Dernière intervention 11 décembre 2009
11 août 2008 à 15:06
boujour tout le monde
j'ai essayé et c'est toujours pareil ça marche bien sur firefox mais pas sur IE
0
Renus02 Messages postés 182 Date d'inscription jeudi 20 mai 2004 Statut Membre Dernière intervention 22 octobre 2010
11 août 2008 à 15:30
bonjour,

tu es sur que t'es balise html sont toutes correctement fermées ? la propriété background-color ne pose pas de problème sous ie.
0
Rejoignez-nous