Partage
  • Partager sur Facebook
  • Partager sur Twitter

Code css pour l'image de fond ?

    13 décembre 2005 à 20:14:29

    Ou doi-je mettre le code pour afficher l'image qui sera en fond mais pas derrière le menu en fond derrière tous les menus ?

    body
    {
       width: 728px;
       height: 90px;
       margin: auto;
       margin-top: 20px;
       margin-bottom: 20px;   
       background-image:url("images/fond.jpeg");
       background-attachment: fixed;
    }



    #en_tete
    {

       width: 760px;
       height: 100px;
       background-image: url("images/banniere.png");
       background-repeat: no-repeat;
       margin-bottom: 10px;
    }




    #menu
    {

       float: left;
       width: 120px;
    }

    .element_menu
    {
       background-color: #f9e31b;
       background-image: url("images/motif.png");
       background-repeat: repeat-x;
       
       border: 2px solid black;
       
       margin-bottom: 18px;
    }





    .element_menu h3
    {   
       color: #5a5ec8;
       font-family:"Cosmic Ms"; Arial;
       text-align: center;
    }

    .element_menu ul
    {
       list-style-image: url("images/puce.png");
       padding: 0px;
       padding-left: 20px;
       margin: 0px;
       margin-bottom: 5px;
    }

    .element_menu a
    {
       color: #5a5ec8;
    }

    .element_menu a:hover
    {
       background-color: #f9e31b;
       color: black;
    }




    #corps
    {

       margin-left: 140px;
       margin-bottom: 20px;
       padding: 5px;   
       color: #f9e31b;
       background-color:#f9feff;
       background-image: url("images/fond.jpg");
       background-repeat: repeat-x;   
       border: 2px solid black;
    }

    #corps h1
    {
       color: #5a5ec8;
       text-align: center;
       font-family: Arial, "Arial Black", "Times New Roman", Times, serif;
    }

    #corps h2
    {
       height: 30px;

       background-image: url("images/titre.png");
       background-repeat: no-repeat;
       
       padding-left: 30px;
       color: #5a5ec8;
       text-align: left;
    }




    #pied_de_page
    {

       padding: 3px;
       text-align: center;
       color: #5a5ec8;
       background-color: #f9e31b; 
       border: 2px solid black;
    }


    Merci
    • Partager sur Facebook
    • Partager sur Twitter
      13 décembre 2005 à 20:20:57

      bonsoir

      Bah euh ! test sinon je croix que c est dans #menu

      @ bientot jerome
      • Partager sur Facebook
      • Partager sur Twitter

      Code css pour l'image de fond ?

      × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
      × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
      • Editeur
      • Markdown