Hi I really need a quick solution… My client is nearly threatening me on this.
I created a sub-menu for wordpress page navigation you can see it here: http://www.sarasotaatnight.com/
you will see it is working on all the browsers except IE … I check every thing but still don’t know why it is happening… finally I came back to my old school.
please I really really need a quick help… Thanks in advance.
/* navigation menu*/
.navigation_holder{ width:990px; background:url(images/bg_navbar.jpg) no-repeat; height:29px;}
.left{ float:left;}
.right{ float:right;}
.nav_holder{ margin:0px; padding:0px; width:900px;}
.social_holder{ margin:0px; padding:0px; width: 80px; overflow:hidden; float:right;}
.social_holder ul{ list-style:none; display: inline;}
.social_holder li{ float: left; padding:2px; margin-top:3px;}
.social_holder ul li img { width: 27px; height: 27px;}
#nav { width: 980px; height:29px; float:left; background:url(images/bg_navbar.jpg) no-repeat; padding:6px 7px 0 7px; list-style:none;}
#nav {
margin: 0;
padding: 7px 0px 0;
line-height: 100%;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
z-index:5;
}
#nav li {
margin: 0 5px;
padding: 0 0 8px;
float: left;
position: relative;
list-style: none;
}
/* main level link */
#nav a {
font-weight:400;
color: #eee;
text-decoration: none;
display: block;
padding: 4px 10px;
margin:0px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
background: #9B378D; /* old browsers */
background: -moz-linear-gradient(top, #9B378D 35%, #721263 99%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(35%,#9B378D), color-stop(99%,#721263)); /* webkit */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9B378D', endColorstr='#721263',GradientType=0 ); /* ie */
}
/* main level link hover */
#nav .current a, #nav li:hover > a {
background: #721263; /* old browsers */
background: -moz-linear-gradient(top, #721263 0%, #973489 50%, #F45FDE 100%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#721263), color-stop(50%,#973489), color-stop(100%,#F45FDE)); /* webkit */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#721263', endColorstr='#F45FDE',GradientType=0 ); /* ie */
color: #FFF;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
text-shadow: 0 1px 0 rgba(0, 0, 0, .8);
}
/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
background: none;
border: none;
color: #ccc;
-webkit-box-shadow: none;
-moz-box-shadow: none;
z-index:5;
}
#nav ul a:hover {
background: #EE72FF; /* old browsers */
background: -moz-linear-gradient(top, #EE72FF 0%, #F2C1EA 100%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#EE72FF), color-stop(100%,#F2C1EA)); /* webkit */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#EE72FF', endColorstr='#F2C1EA',GradientType=0 ); /* ie */
color: #fff !important;
-webkit-border-radius: 0;
-moz-border-radius: 0;
text-shadow: 0 1px 1px rgba(0, 0, 0, .1);
z-index:5;
}
/* level 2 list */
#nav ul {
background: #721263; /* old browsers */
background: -moz-linear-gradient(top, #721263 0%, #AA2590 100%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#721263), color-stop(100%,#AA2590)); /* webkit */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#721263', endColorstr='#AA2590',GradientType=0 ); /* ie */
display: none;
margin: 0;
padding: 0;
width: 185px;
position: absolute;
top: 29px;
left: 0;
border: solid 1px #721263;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
z-index:5;
}
/* dropdown */
#nav li:hover > ul {
display: block;
}
#nav ul li {
float: none;
margin: 0;
padding: 0;
z-index:5;
}
#nav ul a {
font-weight: normal;
text-shadow: 0 1px 1px rgba(255, 255, 255, .9);
z-index:5;
}
/* level 3+ list */
#nav ul ul {
left: 181px;
top: 3px;
z-index:5;
}
/* rounded corners for first and last child */
#nav ul li:first-child > a {
-webkit-border-top-left-radius: 4px;
-moz-border-radius-topleft: 4px;
-webkit-border-top-right-radius: 4px;
-moz-border-radius-topright: 4px;
}
#nav ul li:last-child > a {
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomleft: 4px;
-webkit-border-bottom-right-radius: 4px;
-moz-border-radius-bottomright: 4px;
}
/* clearfix */
#nav:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
#nav {
display: inline-block;
}
html[xmlns] #nav {
display: block;
}
* html #nav {
height: 1%;
}