开发者

Drop down all images ... almost working. How to

开发者 https://www.devze.com 2023-02-03 18:22 出处:网络
At this sitewhen you hover over the nav title \"Service,\"a drop down appears.Then when you hover witin sub nav & mouseover title \"Repair,\" you see a 2ndary menu appear..

At this site when you hover over the nav title "Service," a drop down appears. Then when you hover witin sub nav & mouseover title "Repair," you see a 2ndary menu appear..

I want to move that 2ndary yellow sub-sub-menu up to align it with it's parent "Repair."

Now I have been able to do just that by adding top: 0; and margin-top: -40px to ID property: nav li ul li ul . But, adding top:0 and or any margin to nav li ul li ul causes the 2ndary yellow sub-sub nav to display always rather only on h开发者_如何学Goover.

Any suggestions?


Change the style of your second level UL element to as below(i.e. make top:0):

#nav li ul li ul {
    position:absolute;
      top:0;
    width:175px;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消