Problem fond decran css

Bonjour, je créer un site avec des page html et une feuille de style css
dans ma feuille j'ai écrit:

@charset "utf-8";
/* CSS Document */

body{
font-family:Arial, helvetica, sans-serif;
font-size:11px;
color:#333333;
margin:0px;
background-image: url("images/back.png");
background-repeat: repeat-x;
}
#global{
position: absolute;
width:976px;
top:10px;
left:50%;
margin-left:-488px;
}
et sur ma page html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Document sans nom</title>
<style type="text/css" title"currentStyle" media="screen">
@import url(./css/style.css);
</style>
</head>

<body>
<div id="tete"><img src="images/logo-moments-et-matieres.jpg" width="269" height="269" />
</body>
</html>

Mais je n'apercoi pas le fond d'écran!!
je vous remerci d'avance pour votre aide,
je suis dans la panade!
Configuration: Windows Vista
Internet Explorer 7.0

5 réponses

  1. Modérateur
    Salut,
    heu, commence déjà par corriger les oublis :
    il manque un </div>, il manque un = (title="currentStyle"), il manques des doubles quote pour url("")

    Après ton truc marche bien chez moi, donc commence par réessayer après avoir corrigé, ton navigateur est peut-être intransigeant avec la syntaxe :)
    0
    1. j'ai corigé tt se que vous m'avez dit.mais, sa fonctione pas !!!
      vous visualiser avec quoi la page web ?
      on peut voir le fond en reseau local?
      0
      1. essayez : background-image: url("./images/back.png");
        0
        1. j' ai fait se que vous 'avez dit mais sa ne fonctione toujour pa!!
          je ne comprend pa pourquoi ca ne marche pa??
          j'ai tou fai dan l'odre je pense.
          Mais c'est la premiere fois que j'utilise des feuille de style!petetre que je mi prend male?
          0
          1. Modérateur
            ceci fonctionne-t-il ?
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
            <html xmlns="http://www.w3.org/1999/xhtml">
            <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <title>Document sans nom</title>
            <style type="text/css" title="currentStyle" media="screen">
            body{
            font-family:Arial, helvetica, sans-serif;
            font-size:11px;
            color:#333333;
            margin:0px;
            background-image: url("images/back.png");
            background-repeat: repeat-x;
            }
            #global{
            position: absolute;
            width:976px;
            top:10px;
            left:50%;
            margin-left:-488px;
            } 
            </style>
            </head>
            <body>
            <div id="tete">
            <img src="images/logo-moments-et-matieres.jpg" width="269" height="269" />
            </div>
            </body>
            </html> 
            0