Bon voici ma structure de fichier:arrière-plan: url ('example.jpg'); Ne marche pas!
+ WWW
- index.html
- style.css
- map.jpg
CSS:
body {
background: #000 url('map.jpg') repeat/repeat-x/repeat-y/no-repeat scroll/fixed top/center/bottom/x-%/x-pos left/center/right/y-%/y-pos;
}
HTML:
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" title="no title" charset="utf-8">
</head>
<body>
</body>
</html>
PROBLÈME: map.jpg n'apparaît pas dans un navigateur (Firefox, Safari) ou TextMate Aperçu!
'map.jpg' n'est pas affiché, mais le fond est-il noir? – Kobi
Oui c'est vrai, j'essaie la suggestion de Nick Craver en ce moment –