I am trying to build a vertical menu but I am having problems with aligning the border and the list of links for the sub menu. You can see what I mean on this link

The sub menu doesn't align with the top of the main menu either.
If I try move the mouse to hover over the sub menu the sub menu disappears.

I also can't get the main urls nearer to the top of the block.

Can someone put me out of my misery by showing me what needs to be done> Thanks

The css code :
Code:
#menu {
     position: relative;
     top: 20px;
     left: 30px;
     padding-left: 10px;
     padding-right: 10px;
     height: 280px;
    width: 130px;
     margin-top: 2px;
    padding-bottom:20px;
    padding-left: 0px;
    padding-right: 30px;
    border-color: #D5D6FF;
    border-style: outset;
    background-color: #fffff0;
    border-width: 4px;
    text-align: left;
 }          
#menu ul {
    padding: 4px;
    font-family: Arial,Verdana;
    font-size: 1.50em;
    list-style: none;
    background: #fffff0;
 }
#menu ul li {
    display: block;
    position: relative;
    top: 10px;
}
#menu li ul {
    position: relative;
    left:160px;
    display: none;
    border-color: #D5D6FF;
    border-style: outset;
}
#menu li:hover .sub-level {
    background: #999;
    border: #fff solid;
    border-width: 1px;
    display: block;
    position: absolute;
    top: 5px;
}
#menu ul li a {
    display: block;
    margin-left: 10px;
    padding: 5px 10px 5px 10px;
    border-top: 1px solid #fff;
    text-decoration: none;
    white-space: nowrap;
    color: #1107C7;
    background: #fffff0;
    }
#menu ul li a:hover {
    background: #fffff0;
}
#menu li:hover ul {
    display: block;
    position:relative;
    }
#menu li:hover li {
    float: none;
    font-size: 0.50em;
}
#menu li:hover a {
    background: #ff7f50;
}

#menu li:hover li a:hover {
    background: #fffff0;
}