diaporamaMiscWeb
 
◃  Ch. 1 DHTML  ▹
 

Menus pur CSS

div#menu ul { /* div#menu > ul */
  list-style-type : none;
}

div#menu a:hover {
  color : #6060C0;
  background-color : #EFEFFF;
  font-style : oblique;
}

 /* div#menu li > ul */
div#menu li  ul {
  display : none;
}

/* div#menu li:hover > ul */
div#menu li:hover ul { 
  display : block;
  list-style-type : none;
  list-style-position : inside;
}