chabgyver
Messages postés159Date d'inscriptiondimanche 17 juillet 2011StatutMembreDernière intervention28 janvier 2020
-
31 oct. 2008 à 10:01
chabgyver
Messages postés159Date d'inscriptiondimanche 17 juillet 2011StatutMembreDernière intervention28 janvier 2020
-
3 nov. 2008 à 09:06
Bonjour,
J'ai un soucis avec la superposition avec IE7.
Voici mon css :
.float-left{
float: left;
}
.float-right{
float: right;
}
.nav-container .divider{
display:block;
font-size:1px;
border-width:0px;
border-style:solid;
}
.nav-container .divider-vert{
float:left;
width:0px;
display: none;
}
.nav-container .item-secondary-title{
display:block;
cursor:default;
white-space:nowrap;
}
.clear{
font-size:1px;
height:0px;
width:0px;
clear:left;
line-height:0px;
display:block;
float:none;
}
.nav-container{
position:relative;
zoom:1;
margin: 0 auto;
z-index: 100;
}
.nav-container a, .nav-container li{
float:left;
display:block;
white-space:nowrap;
}
.nav-container div a, .nav-container ul a, .nav-container ul li{
float:none;
}
.nav-container ul{
left:-10000px;
position:absolute;
}
.nav-container, .nav-container ul{
list-style:none;
padding:0px;
margin:0px;
}
.nav-container li a{
float:none
}
.nav-container li{
position:relative;
}
.nav-container ul{
z-index:10;
}
.nav-container ul ul{
z-index:20;
}
.nav-container ul ul ul{
z-index:30;
}
.nav-container ul ul ul ul{
z-index:40;
}
.nav-container ul ul ul ul ul{
z-index:50;
}
li:hover>ul{
left:auto;
}
#nav-container ul {
top:100%;
}
#nav-container ul li:hover>ul{
top:0px;
left:100%;
}
/*^'^ Primary Items Agit sur l'espacement entre les menus et sur l'espacement du menu par rapport au reste de l'interface ^'^*/
#nav-container a{
padding:0px 0px 0px 15px; /*espacement entre les éléments du menu */
margin: 0px 5px 0px 0px;
color: #FFFFFF;
font-family: Trebuchet MS, Arial, sans-serif, Helvetica;
font-size:10px;
text-decoration:none;
font-weight: bold;
background: url(images-menu/item-primary-bg.gif);
background-repeat: no-repeat;
background-position: top;
}
cs_bultez
Messages postés13615Date d'inscriptionjeudi 13 février 2003StatutMembreDernière intervention15 octobre 201330 31 oct. 2008 à 10:21
bonjour,
superposition par rapport à quoi ?
on a le css certes, mais le html associé ? comment on contrôle s'il y a des erreurs ?
et... tu as mis le bon doctype ? ( ça règle quasi tout )
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
par exemple