Problème affichage image css
worldcars
Messages postés
329
Statut
Membre
-
Poo -
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>
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:
- Problème affichage image css
- Image iso - Guide
- Affichage double ecran - Guide
- Problème affichage fenêtre windows 10 - Guide
- Windows 11 affichage classique - Guide
- Légender une image - Guide