Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorthechefs
    • CommentTimeDec 6th 2007
     permalink
    Hello All,

    I've inherited a project and am working on the main navigation. The main CSS file that I've been handed is about 4000 lines long so I've grabbed the relevant css/xhtml and uploaded it here: http://www.visualchefs.com/test.html

    The nav almost works as designed but I'm stuck with one thing and it's early so the brain is still off. The nav has a small drop down arrow centered underneath the main links. The arrow should remain in place and change color when the dropdown list is displayed -- this part works fine. However, because of the markup / design, the hovered dropdown list has a missing section of color (6px high white area at top right part of the inner ul). The light grey area should expand full width instead of having the indention as it does now. Now I understand why it's happening but don't know of a way around it. Note that the arrow has to remain centered under the parent link.

    Oh, and I know this doesn't work in ie6 yet but I'll figure that out when/if I get that far.

    Thanks in advance for your help.

    -Shawn
    • CommentAuthoralconpez
    • CommentTimeDec 6th 2007
     permalink
    hi thechefs,

    to achieve exactly what you want:
    in your css:
    - changes to apply only in "#utility-menu li ul",

    margin-top: 6px; change to => margin-top: 0;
    z-index: 100; change to => z-index: -100;
    padding:5px 0 7px 0; change to => padding:11px 0 7px 0;

    (only tested on firefox...)
    • CommentAuthorthechefs
    • CommentTimeDec 6th 2007
     permalink
    Daniel,

    Thanks for your help. Your idea gets the display right but prevents me from being able to hover over the dropdown items. Any other ideas?

    -Shawn
    • CommentAuthorthechefs
    • CommentTimeDec 7th 2007
     permalink
    Talked the designer into moving the arrows to the side of the nav and now it's golden.

    -Shawn
Add your comments
    Username Password
  • Format comments as (Help)