﻿.clear {clear:bothX} 
/* remove the list style */
#nav {
    margin:0; 
    padding:0; 
    list-style:none;
}   
     
    /* make the LI display inline */
    /* it's position relative so that position absolute */
    /* can be used in submenu */
    #nav li {
        float:left; 
        display:block;  
        position:relative;
        z-index:500; 
        margin:0 1px;
    }
         
    /* this is the parent menu */
    #nav li a {
        display:block;   
        text-decoration:none;  
        text-align:center;  
    }
 
    #nav li a:hover { 
    }
     
    /* you can make a different style for default selected value */
    #nav a.selected {  
    }
     
        /* submenu, it's hidden by default */
        #nav ul {
            position:absolute; 
            left:0; 
            display:none; 
            margin:0 0 0 -1px; 
            padding:0; 
            list-style:none;
        }
         
        #nav ul li { 
            float:left;  
        }
         
        /* display block will make the link fill the whole area of LI */
        #nav ul a {
            width: 100px;
            display:block;
            background-color: #4B4B4B;
            overflow: auto;
            color: white;
            width: 125px;
            padding: 4px;
            
        }
         
        #nav ul a:hover {
            background-color: #767676;
            text-decoration: none;  
        }
 
/* fix ie6 small issue */
/* we should always avoid using hack like this */
/* should put it into separate file : ) */
*html #nav ul {
    margin:0 0 0 -2px;
}