Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
need help with verticle drop down menu!
Old 02-20-2009, 04:42 PM need help with verticle drop down menu!
Junior Talker

Posts: 1
Trades: 0

So, I used the information from this list apart article to make some verticle drop down menus. I'm pretty happy with the results except in IE, where the rollover menu is unstable. You have to roll over the first menu item just right or the other menu items that appeared during the rollover disappear again too quickly. I followed the CSS and JS and everything else almost to a tea. I'm noticing this same problem in the example that the programmer who wrote the article gives. Sooo frustrating!

I've been looking for a decent verticle/horizontal drop down menu option for years, and this is the closest I've come to anything working, but I can't seem to fix this one little bug. Can anyone help me? Or, do you have any better suggestions for a roll over menu?

Here's a link to the website I'm working on: http://www.turtleshell.frih.net/index.html. Works fine in firefox, Safari, not so much in IE.

This is the CSS:

Code:
div.menu {
color: #fdbe00;
text-align: left;
float: left;
font-weight: bold;
}

#nav {
list-style-type: none;
margin: 0px;
padding: 0px;
width: 150px;
border-bottom: 1px solid #ccc;

}

#nav li {

position: relative;
width: 150px;
}

#nav li a {
display: block;
padding: 5px;
border: 1px solid white;
border-bottom: 0px;
}

/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; }
* html ul li a { height: 1%; }
/* End */




#nav li:hover ul, #nav li.over ul {
display: block;
width: 150px;
padding-left: 0px;
margin-left: 0px;
border-bottom: 1px solid white;
}





#nav li ul {
position: absolute;
left: 149px;
top: 0;
display: none;
list-style-type: none;
}

#nav li ul li {
background-color: #0d1549;
}


#nav li.top {
margin-top: 25px;
}
daisyhamster is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to need help with verticle drop down menu!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26307 seconds with 12 queries