WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > [SOLVED] Cannot go further under submenu

Reply
  Thread Tools Display Modes
Old 15th June 12, 02:48 AM   #1
pc87
WLC Member
 
Join Date: Jun 2012
Posts: 6
Default Cannot go further under submenu

Hi everyone,

I have a problem that the hover on "Portfolio" tab cannot go further down to the "Bar & Restaurant" in submenu. The link is http://perrychow.net/job/novusp/menu-test2.html

Would somebody please help?

Thanks in advance~
pc87 is offline   Reply With Quote
Old 15th June 12, 11:17 AM   #2
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: Cannot go further under submenu

In what browser?
chrishirst is offline   Reply With Quote
Old 15th June 12, 11:41 AM   #3
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: Cannot go further under submenu

Ok all of them I see.

Problem is likely to be youe use of fixed position on the sublists.

Read up on positioning and how position: fixed actually works.
chrishirst is offline   Reply With Quote
Old 15th June 12, 01:13 PM   #4
pc87
WLC Member
 
Join Date: Jun 2012
Posts: 6
Default Re: Cannot go further under submenu

Thanks, Chris,

It is Chrome and Firefox. after I rollover down the submenu of "residential", I cannot go further to "Bar & Restaurant"..
pc87 is offline   Reply With Quote
Old 15th June 12, 03:31 PM   #5
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: Cannot go further under submenu

change the positioning to absolute instead of fixed and set position: relative on the parent.
chrishirst is offline   Reply With Quote
Old 15th June 12, 03:42 PM   #6
pc87
WLC Member
 
Join Date: Jun 2012
Posts: 6
Default Re: Cannot go further under submenu

Thanks again,

not working >.<
pc87 is offline   Reply With Quote
Old 15th June 12, 03:53 PM   #7
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: Cannot go further under submenu

Until your "dropdown element" is removed from the normal flow and STOPS expanding its parent that is what will happen.

Your "sub section" HAS to be position: absolute; and its parent HAS to have a position property value OTHER than static (the default)
chrishirst is offline   Reply With Quote
Old 15th June 12, 04:19 PM   #8
pc87
WLC Member
 
Join Date: Jun 2012
Posts: 6
Default Re: Cannot go further under submenu

Thanks again for your help, I did this:

http://perrychow.net/job/novusp/menu-test5.html

Another sub-list is moving up too. I need some more time to fix it out... thank you.
pc87 is offline   Reply With Quote
Old 15th June 12, 05:13 PM   #9
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: Cannot go further under submenu

Oh and by the way heights are better done using exs rather than ems.

1em = the width of a uppercase 'M' while 1ex is the height of a uppercase 'X' for the font face/family in use.
chrishirst is offline   Reply With Quote
Old 16th June 12, 07:10 PM   #10
pc87
WLC Member
 
Join Date: Jun 2012
Posts: 6
Default Re: Cannot go further under submenu

oops!

Thanks Chris, I will give it a try!

cheers~
pc87 is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

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

Forum Jump


All times are GMT. The time now is 12:18 PM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.