Positionnement image site

Bonjour,
je souhaite mettre une image en fond d'écran de mon site internet cependant l'image se repete , elel n'apparait pas qu'une seule fois en grand sur la page comme je le souhaiterait pouvez vous m'aider svp
Configuration: Windows XP
Firefox 3.0.4

3 réponses

  • Votes
  • Date
  • Date décroissante
  1. Dans le style CSS, tu précises:
    background-repeat:no-repeat;
    background-position:10px 10px; ---> ici c'est juste si tu veux mettre l'image à une position précise ;-)
    1. <!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=iso-8859-1" />
      <title>Untitled Document</title>
      <style type="text/css">
      <!--
      body {
      background-image: url/images/fond.jpg);
      background-repeat: no-repeat;
      }
      -->
      </style></head>

      <body>
      </body>
      </html>