Home › Forums › JavaScript › [Solved] not sure if this is a Jquery or css problem › Re: [Solved] not sure if this is a Jquery or css problem
January 9, 2010 at 3:17 pm
#69174
kb2tfa
Member
AshtonSanders
thank you so much for your post.
I added that to my css, and it’s fixed.
Code:
ul.topnav li ul.subnav {
list-style: none;
position: absolute; /*–Important – Keeps subnav from affecting main navigation flow–*/
left: 0; top: 35px;
background: blue;
margin: 0; padding: 0;
display: none;
float: left;
width: 170px;
border: 1px solid #111;
color: white;
z-index: 100; /* fix for menu showing behind photos */
}
list-style: none;
position: absolute; /*–Important – Keeps subnav from affecting main navigation flow–*/
left: 0; top: 35px;
background: blue;
margin: 0; padding: 0;
display: none;
float: left;
width: 170px;
border: 1px solid #111;
color: white;
z-index: 100; /* fix for menu showing behind photos */
}
thanks again. Ron