Problème affichage image css

worldcars Messages postés 329 Statut Membre -  
 Poo -
Bonjour,
j'ai un problème j'ai un fond dans mon css et je veut faire un peu comme sur le site du zero c'est à dire une image blanche au milieu mais mon problème c'est que mon image blanche ne s'affiche pas si je n'écrit pas dessus.


css


body
{
background-image: url('img/design.png');
}

#fond
{
width: 800px;
margin: auto;
background: silver url('img/fondblanc.png') repeat-y;
}

html



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<meta http-equiv="Contenu-Type" content="text/html; charset=iso-8859-1" />
<title>xbox360game</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>



<body>

<div id="fond">
fjudhfkud

</div>







</body>
</html>
A voir également:

2 réponses

worldcars Messages postés 329 Statut Membre 74
 
pas d'idées
0
Poo
 
Rajoute dans ton css :

min-height:[valeur]px;
0