Previous Message
Next Message

[NEWBIE] Positioning and text show/hide problems with "Son Of Suckerfish" drop down menus

Sent by Bob Easton on 3 January 2005 22:10


Bob Easton wrote:
> The way Suckerfish works is not conducive to introducing absolute 
> positioning within its declarations.  The current situation places the 
> drop-down 76 px below it's parent and one can never mouse to it. The 
> best thing to do is to use the Suckerfish CSS exactly as stated on the 
> origin site, and then place the entire menu system inside another 
> container, i.e. id="nav-wrap".  Then, position #nav-wrap absolutely to 
> put the entire menu system where you want it.

That wasn't clear enough...
Suckerfish is using the first declaration (nav, nav ul) to do double 
duty.  It affects the outer container and all individial lists within 
the container.  You wanted the top row of the menu to be 76px from the 
top of the window, so you put that absolute position within (nav, nav 
ul).  Because of the double duty, that also absolutely positions every 
inner list another 76px lower.  Each drop down slides 76px farther down 
the page, becoming unreachable.

So, take the positioning out of (nav, nav ul) and put it on an outer 
container.  Hope that's better.

-- 
Bob Easton
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: