HighDots Forums  

Flickr-Style CSS Menu - Need Help With Odd Behaviour

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Flickr-Style CSS Menu - Need Help With Odd Behaviour in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
pbd22
 
Posts: n/a

Default Re: Flickr-Style CSS Menu - Need Help With Odd Behaviour - 12-09-2008 , 11:25 PM






On Dec 5, 4:03*am, Bergamot <berga... (AT) visi (DOT) com> wrote:
Quote:
pbd22 wrote:

http://dushkin.googlepages.com/navigation.htm

want the main nav items to hold their position when submenus are
expanded. What seems to be bappening is that all the nav items to the
right are going to the bottom of the sub menu.

You need to relatively position the parent <li> and absolutely position
the child sub_menu. That takes the child out of the flow so the
positioning of the other parent <li>s aren't affected, and maintains the
positioning relationship between a parent and child.

I suggest, however, that instead of a child <div> you use a child <ul>.
It is more semantically correct and degrades better.

--
Berg
Thanks Berg

That did the trick. Much appreciated.

Regards,
Peter


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.