Results 1 to 2 of 2

Thread: :: CSS Horizontal hover menu

  1. #1
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    23
    Thanked 0 Times in 0 Posts

    Default :: CSS Horizontal hover menu

    http://www.dynamicdrive.com/dynamicindex1/hover.htm

    how can I create a class for selected state. Will look like hover but will be the selected one

    thank you

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Change:
    Code:
    .hovermenu ul li a:hover, .hovermenu ul li a.active{
    background-color: #FFE271;
    border-style: outset;
    }
    Add the highlighted.
    Then in the link add the class active:
    Code:
    <li><a href="http://www.dynamicdrive.com" class="active">Dynamic Drive</a></li>
    Jeremy | jfein.net

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
  •