Results 1 to 3 of 3

Thread: Menu with "Sticky" Selection

  1. #1
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Menu with "Sticky" Selection

    Being almost a newbie to css styled menus I am trying to figure out how to get the selection in a menu to keep being selected when the user clicks somewhere else with the mouse.
    Can anyone enlighten me on this?
    Kind Regards
    Kim

  2. #2
    Join Date
    Jul 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Where did you get the css or do you have an example or some css you can post? Thanks,

    Josh Rodgers

  3. #3
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have borrowed from various css-example-sites and this is my current:

    #navcontainer
    {
    margin: 0;
    padding: 0;
    height: 22px;
    font: 11px Verdana, sans-serif;
    width: 100%;
    list-style-type: none;
    background: #fff;
    }

    #navlist li
    {
    float: left;
    margin: 0;
    padding-right: 20px;
    width: auto;
    display: block;
    }

    #navlist li a, #navlist li a:link
    {
    background: #fff;
    color: #555;
    text-decoration: none;
    padding: 3px 5px 3px 5px;
    display: block;
    }

    #navlist li a:hover
    {
    color: #000;
    border-bottom: 3px solid #bbb;
    cursor: pointer;
    background: #eee;
    }

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •