** javascript help **

Out of context: Reply #6

  • Started
  • Last post
  • 8 Responses
  • nicora20

    There is no JavaScript need for that.

    #navcontainer { width: 200px; }

    #navcontainer ul
    {
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
    }

    #navcontainer a
    {
    display: block;
    padding: 3px;
    width: 160px;
    background-color: 'transparent';
    border-bottom: 0;
    }

    #navcontainer a:link, #navlist a:visited
    {
    color: #333;
    text-decoration: none;
    }

    #navcontainer a:hover
    {
    background-color: 'transparent';
    border-bottom:solid 1px red;
    color: #333;
    }

    Item one
    Item two
    Item three
    Item four
    Item five

View thread