![]() |
|
||||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||
|
|
#1 |
|
WLC Member
Join Date: Jun 2012
Posts: 6
|
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~ |
|
|
|
|
|
#2 |
|
Banned
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
|
In what browser?
|
|
|
|
|
|
#3 |
|
Banned
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
|
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. |
|
|
|
|
|
#4 |
|
WLC Member
Join Date: Jun 2012
Posts: 6
|
Thanks, Chris,
It is Chrome and Firefox. after I rollover down the submenu of "residential", I cannot go further to "Bar & Restaurant".. |
|
|
|
|
|
#5 |
|
Banned
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
|
change the positioning to absolute instead of fixed and set position: relative on the parent.
|
|
|
|
|
|
#6 |
|
WLC Member
Join Date: Jun 2012
Posts: 6
|
Thanks again,
not working >.< |
|
|
|
|
|
#7 |
|
Banned
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
|
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) |
|
|
|
|
|
#8 |
|
WLC Member
Join Date: Jun 2012
Posts: 6
|
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. |
|
|
|
|
|
#9 |
|
Banned
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
|
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. |
|
|
|
|
|
#10 |
|
WLC Member
Join Date: Jun 2012
Posts: 6
|
oops!
Thanks Chris, I will give it a try! cheers~ |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
Linear Mode |
|
|