- This topic has 7 replies, 4 voices, and was last updated 15 years, 5 months ago by imported_Ryan.
-
AuthorPosts
-
May 29, 2009 at 6:33 pm #843AnonymousMember
I have tried z-index to fix this
http://www.heatheressianportraitarts.com
here is the css:
#suckerfishnav {
background:#223E52 repeat-x;
font-size:15px;
font-family:helvetica,sans-serif;
font-weight:normal;
width:960px;
}
#suckerfishnav, #suckerfishnav ul {
float:center;
list-style:none;
padding:0;
margin:0;
z-index:1000;
}
#suckerfishnav a {
display:block;
color:#868686;
text-decoration:none;
padding:0px 10px;
}
#suckerfishnav li {
float:left;
padding:0;
}
#suckerfishnav ul {
position:absolute;
left:-999em;
height:auto;
width:101px;
font-weight:normal;
margin:0;
line-height:1;
border:0;
border-top:1px solid #666666;
}
#suckerfishnav li li {
width:99px;
border-bottom:1px solid #666666;
border-left:1px solid #666666;
border-right:1px solid #666666;
font-weight:bold;
font-family:helvetica,sans-serif;
z-index:100;
}
#suckerfishnav li li a {
padding:4px 10px;
width:80px;
font-size:14px;
color:#868686;
}
#suckerfishnav li ul ul {
margin:-23px 0 0 100px;
}
#suckerfishnav li li:hover {
background:#223E52;
}
#suckerfishnav li ul li:hover a, #suckerfishnav li ul li li:hover a, #suckerfishnav li ul li li li:hover a, #suckerfishnav li ul li li li:hover a {
color:#944F85;
}
#suckerfishnav li:hover a, #suckerfishnav li.sfhover a {
color:#944F85;
}
#suckerfishnav li:hover li a, #suckerfishnav li li:hover li a, #suckerfishnav li li li:hover li a, #suckerfishnav li li li li:hover li a {
color:#868686;
}
#suckerfishnav li:hover ul ul, #suckerfishnav li:hover ul ul ul, #suckerfishnav li:hover ul ul ul ul, #suckerfishnav li.sfhover ul ul, #suckerfishnav li.sfhover ul ul ul, #suckerfishnav li.sfhover ul ul ul ul {
left:-999em;
}
#suckerfishnav li:hover ul, #suckerfishnav li li:hover ul, #suckerfishnav li li li:hover ul, #suckerfishnav li li li li:hover ul, #suckerfishnav li.sfhover ul, #suckerfishnav li li.sfhover ul, #suckerfishnav li li li.sfhover ul, #suckerfishnav li li li li.sfhover ul {
left:auto;
background:#223E52;
}
#suckerfishnav li:hover, #suckerfishnav li.sfhover {
background:#223E52;
}and css for div menu that i put it in
#menu {
background-color: #223e52;
background-image: url(http://heatheressianportraitarts.com/blog/nav_bg.gif) repeat;
filter:alpha(opacity=90);-moz-opacity:.90;opacity:.90;
height:2em;
width: 960px;
margin-bottom: 1px;
margin-top: 1px;
border-left: 1px solid #223E53;
border-right: 1px solid #223E53;
}#menu ul {
width: 920px;
margin: 0 auto;
padding: 0;
left: 0;
list-style: none;
}#menu ul li {
float: left;
}#menu .page_item a {
display: block;
padding-right: 30px;
line-height: 2.0em;
color: #868686;
text-decoration: none;
}#menu .current_page_item a, #menu .page_item a:hover {
color: #944f85;
}I put it in the div menu because the background color went away when I didnt.
any suggestions?
June 1, 2009 at 4:55 am #6320imported_RyanMemberHi,
I’ve been trying to access your site but it won’t load for me unfortunately ” title=”Sad” />June 1, 2009 at 1:37 pm #6321AnonymousMembercan you try again? it seems to be working for me.
June 1, 2009 at 4:17 pm #6322VistronicMemberAdding the z-index to a part of the css helped me with this problem.
June 2, 2009 at 3:26 am #6323AnonymousMemberIt seems like you got it to work. I am having the same problems on my site. what did it for you?
June 8, 2009 at 6:47 am #6324imported_RyanMemberI’ve responded to this question over in your other topic:
https://geek.hellyer.kiwi/forum/http://local … ic.php?t=9June 13, 2009 at 2:30 pm #6325makingtrailsMemberI had this problem
I updated my css to include z-index:1000;
#suckerfishnav, #suckerfishnav ul {
float:left;
list-style:none;
line-height:20px;
padding:0;
border:0px solid #aaa;
margin:0;
width:100%;
z-index:1000;
}All ok now!
June 14, 2009 at 2:21 am #6326imported_RyanMemberI’m hoping the new CSS generator which I’m (very slowly) working on will fix a lot of these problems automatically. I think I said I’d have it ready by January, so I’m not going to make any more promises about when it will be ready!
-
AuthorPosts
- You must be logged in to reply to this topic.