Jul
Div Problem
#nav {
position: relative;
top: 43px;
left: 100px;
float:left;
width:100%;
line-height:normal;
}
#nav ul {
list-style-type: none;
margin: 0;
margin-left: 10px;
padding: 0;
}
#nav li {
display: inline;
position: relative;
margin: 0;
padding: 0;
}
#nav a {
float: left;
background: url(../images/tab_left_both.gif) no-repeat left top;
margin: 0;
padding: 0 0 0 9px;
text-decoration: none;
}
#nav a span {
float: left;
display: block;
background: url(../images/tab_right_both.gif) no-repeat right top;
padding: 5px 14px 5px 5px;
font-weight: bold;
color: #FFFFFF;
}
#nav li:hover a {
background-position: 0% -258px;
}
#nav li:hover span {
background-position: 100% -258px;
color: #000000;
}
#header .subnav {
background-color:#FF3366;
display:none;
width: 100%;
position: relative;
height: 25px;
line-height: 25px;
top: 44px;
color: #FFFFFF;
text-align: center;
font-weight: bold;
z-index:-1;
}
#header .subnav a, #header .subnav a:visited {
color: #FFFFFF;
text-decoration: none;
}
#header .subnav a:hover {
text-decoration: underline;
}That is my CSS for both the nav menu and the submenu.
The website is http://northvillebasketball.com, if you’d like to see how it doesn’t work in firefox. I’ve made the background color of the DIVs a pinkish color, look for it behind the tabs.
Any help is really appreciated
Thank you!
30,000 Mb And Unlimited Bandwidth Only $3.75/mo.
Powered By: BigInfo.org
Relevant Links

