Problème affichage image css

Fermé
worldcars Messages postés 295 Date d'inscription mercredi 21 janvier 2009 Statut Membre Dernière intervention 20 décembre 2009 - 31 mars 2009 à 22:15
 Poo - 5 juin 2009 à 13:14
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 295 Date d'inscription mercredi 21 janvier 2009 Statut Membre Dernière intervention 20 décembre 2009 74
1 avril 2009 à 13:05
pas d'idées
0
Rajoute dans ton css :

min-height:[valeur]px;
0