Bonjours , j'ai un code css , mais je c'est pas si je peut le mettre dans la meme page que mon index.html ? je connais pas grand choses c'est pour sa que je me tourne vers vous .
Le code css est :
ul {
padding:0;
margin:0;
list-style-type:none;
}
li {
margin-left:2px;
float:left; /*pour IE*/
}
ul li a {
display:block;
float:left;
width:100px;
background-color:#6495ED;
color:black;
text-decoration:none;
text-align:center;
padding:5px;
border:2px solid;
/*pour avoir un effet "outset" avec IE :*/
border-color:#DCDCDC #696969 #696969 #DCDCDC;
}
ul li a:hover {
background-color:#D3D3D3;
border-color:#696969 #DCDCDC #DCDCDC #696969;
}
C'est ce qui va me permettre de faire un menu horizontale mais oû dois'je copier ce code?