je met en place un design liquide, donc je me sers excusivement du positionnement float;
mais mon menu sous FF est coupé à droite alors chose nouvelle IE l'affiche correctement.
http://creatif-web.be/developpeur/index.php
Code : Tout sélectionner
/********************************** head ************************************/
#head1 {
background: transparent url(../img/art_04.png) top left repeat-x;
padding:0 0 0 0;
margin:10px 0 0 10px;
height:127px;
}
#head1 h1 {
padding:0px;
margin: 0px;
float: left;
width: 498px;
height: 171px;
background: transparent url(../img/art_03.png) top right no-repeat;
}
#head1 h2{
height: 171px;
width:120px;
float: right;
top: 0px;
margin: 0px;
padding: 0px;
background: transparent url(../img/art_06.png) top left no-repeat;
z-index:2;
}
#head h1 span {
display:none;
}
#head h2 span {
display:none;
}
/*---------------------- premier menu----------------------*/
#menu_profondeur {
float:right;
margin-right:50px;
margin-top:-85px;
z-index:1;
}
#menu_profondeur ul {
margin:0;
padding:0;
list-style-type:none;
}
#menu_profondeur li {
float:right;
}
#menu_profondeur a {
display:block;
width:120px;
border:1px;
color:#fff ;
background:#FF9900;
margin:0 1px;
text-decoration:none;
text-align:center;
}
#menu_profondeur li a:hover {
color:#003366;
background:#FF6633;
border-width: 2px 1px 1px 2px;
border-color: #4a4a4a #cecece #cecece #4a4a4a ;
}