Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2004
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow Vertical sub menus

    Ok, so I already have a regular CSS/HTML navbar on the left side of my page. How do I add a set of vertical submenus under a specific link? Such as, under the products button, having a "software" button, "hardware" tab, and "repair" tab?

    Here's my CSS:

    Code:
    body {
    background: #E8E8E8;
    font: 16px Verdana, sans-serif;
    }
    
    #left {
    width: 159px;
    height: 100%;
    background: url(../Pictures/crackback.gif);
    float: left;
    margin-right: 20px;
    }
    #right {
    width: 75%;
    float: right;
    }
    a:link {color: #104E8B;
    text-decoration: none;
    background-color: transparent }
    a:visited { color: #4169E1;
    text-decoration: none;
    background-color: transparent }
    a:hover { color: #00066;
    text-decoration: underline; 
    background-color: transparent }
    a:active { color: #A9ACB6; 
    text-decoration: underline; 
    background-color: transparent }
    .title { text-align: center}
    .floaty {
    float: right;
    }
    #navlist
    {
    padding: 0 1px 1px;
    font: bold 12px Verdana, sans-serif;
    background: gray;
    width: 13em;
    }
    
    #navlist li
    {
    list-style: none;
    margin: 0;
    border-top: 1px solid gray;
    text-align: left;
    }
    
    #navlist li a
    {
    display: block;
    padding: 0.25em 0.5em 0.25em 0.8em;
    border-left: 1em solid #AAB;
    background: #CCD;
    text-decoration: none;
    }
    
    #navlist li a:link { color: #448; }
    #navlist li a:visited { color: #667; }
    #navlist li a:hover
    {
    border-color: #000066;
    color: #FFF;
    background: #4169e1;
    }
    #good {
    text-align:center;
    }
    
    /* menubar's code altered from http://www.freelayouts.com/generator....php?pg=cssnav */

  • #2
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts


  •  

    Posting Permissions

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