bonjours tout le monde =)
voila je suis en train de faire un site, je suis en ce moment en train de faire le decord du site via le css mais j´ai un petit probleme. en effet, lorsque j´utilise internet explorer tout s´affiche normalement mais lorsque que j´utilise firefox 2 la page qui doit etre décorée par une image de fond ne s´affiche pas et je ne comprend pas du tout pourquoi.
(l´image de fond qui doit s´afficher concerne le conteneur)
et ma question serai de savoir si une personne pourrai me dire pourquoi cela marche mal et si possible me dire la faute que j´ai commise .
merci d´avance pour vos réponse.
je mais ici le code de mon fichier css:
- body
{
margin: 0px;
background: white;
font-family: "felix titling", serif;
font-size: 0.8em;
}
- conteneur
{
width: 809px;
margin: auto;
padding: 0px;
background:url("fond.jpg") repeat-y;
color: black;
}
- header
{
width: 799px;
height: auto;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
background: url("menuhaut.jpg");
position: relative;
}
- header h1
{
position: absolute;
margin: 0px;
padding: 0px;
top: 2px;
left: 10px;
font-size: 2.6em;
color:black;
background-color:transparent;
}
- header p
{
position: absolute;
margin: 0px;
padding: 0px;
top: 45px;
right: 20px;
font-style: oblique;
color:black;
background-color: transparent;
}
- header img
{
margin: 0px 0px 0px 143px;
padding: 0px;
}
- menugauche
{
float: left;
width: 200px;
margin: 0px;
padding: 0px;
}
- menugauche h3
{
margin-top: 15px;
margin-left: 1px;
margin-right: 2px;
margin-bottom: 4px;
}
- menugauche a
{
display: block;
width: 136px;
margin: 0px;
margin-left: 2px;
margin-right: 7px;
padding: 0px;
padding-left: 5px;
text-decoration: none;
font : 16px Arial;
font-weight: bold;
color: #FFA500;
}
- menugauche a:visited { color: #ffa500; }
- menugauche a:hover { color: white; }
- corps
{
float: left;
margin-top: 10px;
margin-bottom: 10px;
margin-left: 5px;
margin-right: 5px;
font-size: 0.9em;
color: black;
font-family: "arial";
padding: 5px;
}
- corps h2
{
margin-top: 0px;
font-size: 180%;
font-weight: normal;
border-bottom: 1px solid black;
text-align: center;
}
- corps h3
{
font-size: 160%;
color: black;
/*background-color: #ffa500; Plus utilisé car mettait du video inversé */
text-align: center;
}
- corps h4
{
font: 12px Verdana ;
display: inline;
font-weight: bold;
margin: 0px;
padding: 0px;
color: #464646;
}
- corps a
{
color: #ffa500;
}
- corps a:hover
{
color: #ffa500;
}
- corps a:visited
{
color:black;
}
- corps table
{
border-style: solid;
border-width: 0px;
font-size: 1.2em;
}
- corps td
{
font-size:100%;
color:black;
text-align:center;
border-width:0px;
}
- cellule
{
margin: 8px;
float: left;
width: 176px;
height: 214px;
padding: 0px;
background: url("cellule.gif");
}
- cellule a
{
font: 9px Verdana ;
color: #464646;
}
- cellule a:visited { color: #464646; }
- cellule a:hover { color: #464646; }
- cellule h3/* Affichage du prix */
{
display: block;
text-align: center;
font: 16px Arial;
margin: 4px 0px 0px 0px;
padding: 0px;
font-weight: bold;
color: black;
}
- cellule h4 /* Affichage du modele a mettre en capitale*/
{
font: 13px Verdana;
margin: 0px 0px 0px 6px;
padding: 0px;
color: #2A2A2A;
}
/* Affichage des details */
- cellule h5
{
font: 9px Verdana ;
margin: 0px 0px 0px 6px;
padding: 0;
color: #464646;
overflow: hidden;
}
/* Affichage du neuf ou occasion et/ou destockage a mettre capital*/
- cellule h6
{
text-align: right;
font: 10px Verdana ;
margin: 2px 6px 2px 0px;
padding: 0;
color: #E51515;
}
- cellule img
{
display: block;
text-align: center;
/* pour le centrage de l´image sous IE qui ne prends pas le margin: auto. */
margin: auto;
padding: 0;
border-width: 1px;
border-color: 8d8d8d;
}
- fiche
{
display: block;
margin: 10px;
padding: 0;
width: auto;
height: auto;
border: groove;
}
- fiche a
{
font: 9px Verdana ;
color: #464646;
}
- fiche a:visited { color: #464646; }
- fiche a:hover { color: #464646; }
- fiche h3/* Affichage du modele */
{
display: block;
text-align: left;
font: 16px Arial;
margin: 10px 10px 10px 10px;
padding: 0px;
font-weight: bold;
color: #464646;
}
- fiche h4 /* Affichage du prix */
{
display: block;
text-align: left;
font: 16px Arial;
margin: 10px 10px 10px 10px;
padding: 0px;
font-weight: bold;
color: #f17700;
}
- fiche h5 /* Affichage des titres */
{
text-align: left;
font: 13px Verdana ;
font-weight: bold;
margin: 0;
padding: 0px;
color: #00000;
}
/* Affichage des détails ou garage*/
- fiche h6
{
text-align: left;
font: 13px Verdana ;
margin: 0;
padding: 0px;
color: #464646;
}
- fiche li
{
font: 14px Verdana ;
display : list-item;
list-style-position: outside;
}
- fiche img
{
text-align: center; /* pour le centrage de l´image sous IE qui ne prends pas le margin: auto. */
margin: 5px 10px 5px 10px;
padding: auto;
border-width: 1px;
border-color: 8d8d8d;
}
- bas
{
width: 800px;
height: 30px;
margin: 0px;
padding: 0px;
background: url("bas.jpg");
}