Centrer Background [CSS]

Quentin79 -  
 edonais -
Bonjour,
Je debute dans le css et html.
Je voudrai que mon background soit répété sur la hauteur et qu'il soit centré
#contenu
{

width:750;
background-image: url("images/fondcontenu.jpg");
background-position: center center;
backgound-reapeat:reapeat-y;
}

#contenu h1
{
color:#A4D1FF;
size:10px;
font-family: Tahoma, "Arial Black", "Times New Roman", Times, serif;
}

#contenu p
{
color:#A4D1FF;
size:10px;
font-family: Tahoma, "Arial Black", "Times New Roman", Times, serif;
}

ça marche pas il est toujours a gauche comment je dois faire s'il vous plait
Merci
Configuration: Windows XP
Internet Explorer 6.0

4 réponses

  1. dcanl Messages postés 3004 Date d'inscription   Statut Contributeur Dernière intervention   470
     
    Salut

    background-position: center;
    backgound-repeat: repeat-y;

    Marche pas ça ?

    @+
    0
  2. Nico_ Messages postés 1220 Date d'inscription   Statut Membre Dernière intervention   189
     
    bonjour,

    essai avec le code suivant.

    {
    	background-image:url('images/fondcontenu.jpg'); background-position:center; background-repeat:repeat-y
    	}

    Bonne journée
    0
  3. Quentin79
     
    Non j'ai mis 3 animations flash dessus mais l'image est présente dessous mais alignée a gauche
    0
    1. dcanl Messages postés 3004 Date d'inscription   Statut Contributeur Dernière intervention   470
       
      Hmm... Elle est en ligne ta page ? On peut la voir quelque part ?

      @+
      0
  4. edonais
     
    essai :
    background-image:url('images/fondcontenu.jpg'); background-position:0 top; background-repeat:repeat-x;
    0