Aider crée menue dans un cadre css

Bonjour,
je voudrais savoir comment je pourrais crée un menue qui se trouverait dans un cadre comme sur le site que je vous donne. Il me faudrait le code css et le code html.
merci.
www.devilux-o-n.fr

7 réponses

  • Votes
  • Date
  • Date décroissante
  1. Salut,
    ton lien ne marche pas ! Merci de la changer pour pouvoir réglet ton problème.
    1. Contributeur
      en voila un
      adapte a ton site !
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <title>RAD ZONE Webcreation</title>
      <meta name="author" content="http://radservebeer.free.fr" />
      <meta name="generator" content="PSPad editor, www.pspad.com" />
      <style type="text/css">
      /*<![CDATA[*/
      
          .menu {
              margin: 10px;
              height: 100px;
              font-size: 10pt;
              font-family: verdana;
          }
          .menu ul {
              margin: 0pt;
              padding: 0pt;
              position: relative;
              z-index: 500;
              list-style-type: none;
              width: 11em;
          }
          .menu li {
              background-color: #cccc99;
              float: left;
          }
          .menu li.sub {
              background-color: #cccc99;
          }
          .menu table {
              position: absolute;
              border-collapse: collapse;
              top: 0pt;
              left: 0pt;
              z-index: 100;
              font-size: 1em;
              margin-top: -1px;
          }
          .menu a, .menu a:visited {
              border: 1px solid #ffffff;
              display: block;
              text-decoration: none;
              height: 2em;
              line-height: 2em;
              width: 11em;
              color: #000000;
              padding-left: 1em;
              font-weight: normal;
              font-style: normal;
              font-variant: normal;
              text-transform: none;
          }
          .menu b {
              float: right;
              margin-right: 5px;
          }
          * html .menu a, * html .menu a:visited {
              width: 11em;
          }
          * html .menu a:hover {
              color: #ccff66;
              background-color: #999966;
              position: relative;
              font-weight: normal;
              font-style: normal;
              font-variant: normal;
              text-decoration: none;
              text-transform: none;
          }
          .menu li:hover {
              position: relative;
          }
          .menu a:active, .menu a:focus {
              color: #ccff66;
              background-color: #999966;
              font-weight: normal;
              font-style: normal;
              font-variant: normal;
              text-decoration: none;
              text-transform: none;
          }
          .menu li:hover > a {
              color: #ccff66;
              background-color: #999966;
              font-weight: normal;
              font-style: normal;
              font-variant: normal;
              text-decoration: none;
              text-transform: none;
          }
          .menu li ul {
              padding: 2em;
              visibility: hidden;
              position: absolute;
              top: -2em;
              left: 7em;
              background-color: transparent;
          }
          .menu li:hover > ul {
              visibility: visible;
          }
          .menu ul a:hover ul ul {
              visibility: hidden;
          }
          .menu ul a:hover ul a:hover ul ul {
              visibility: hidden;
          }
          .menu ul a:hover ul a:hover ul a:hover ul ul {
              visibility: hidden;
          }
          .menu ul a:hover ul {
              visibility: visible;
          }
          .menu ul a:hover ul a:hover ul {
              visibility: visible;
          }
          .menu ul a:hover ul a:hover ul a:hover ul {
              visibility: visible;
          }
          .menu ul a:hover ul a:hover ul a:hover ul a:hover ul {
              visibility: visible;
          }
      
          /*]]>*/
          </style>
      </head>  
        <body>    
          <div class="menu">      
            <ul><li>        
              <a href="#"><b>»</b>Menu 1           
                <!--[if IE 7]>
                          <!--></a>          
              <!--<![endif]-->         
              <!--[if lte IE 6]>
                      <table>
                      <tr>
                      <td>
                      <![endif]-->         
              <ul><li>          
                <a href="#">Sub Menu 1a</a></li><li>          
                <a href="#">Sub Menu 1b</a></li>        
              </ul>        
              <!--[if lte IE 6]>
                      </td>
                      </tr>
                      </table>
                      </a>
                      <![endif]--></li><li>        
              <a href="#"><b>»</b>Menu 2           
                <!--[if IE 7]>
                          <!--></a>          
              <!--<![endif]-->         
              <!--[if lte IE 6]>
                      <table>
                      <tr>
                      <td>
                      <![endif]-->         
              <ul><li>          
                <a href="#">Sub Menu 2a</a></li><li>          
                <a href="#"><b>»</b>Sub Menu 2b             
                  <!--[if IE 7]>
                              <!--></a>            
                <!--<![endif]-->           
                <!--[if lte IE 6]>
                          <table>
                          <tr>
                          <td>
                          <![endif]-->           
                <ul><li>            
                  <a href="#"><b>»</b>Sub sub Menu 2b               
                    <!--[if IE 7]>
                                  <!--></a>              
                  <!--<![endif]-->             
                  <!--[if lte IE 6]>
                              <table>
                              <tr>
                              <td>
                              <![endif]-->             
                  <ul><li>              
                    <a href="#">Sub Menu 2ba</a></li>            
                  </ul>            
                  <!--[if lte IE 6]>
                              </td>
                              </tr>
                              </table>
                              </a>
                              <![endif]--></li>          
                </ul>          
                <!--[if lte IE 6]>
                          </td>
                          </tr>
                          </table>
                          </a>
                          <![endif]--></li><li>          
                <a href="#">Sub Menu 2Bb</a></li>        
              </ul>        
              <!--[if lte IE 6]>
                      </td>
                      </tr>
                      </table>
                      </a>
                      <![endif]--></li><li>        
              <a href="#">Menu 3</a></li><li>        
              <a href="#">Menu 4</a></li>      
            </ul>    
          </div>  
        </body>
      </html>
      
      
      1. merci de m'aider

        Si il y a d'autre proposition sa peut m'aidez

        Discussions similaires

        Affichage numérique FRAMEO

        7 réponses