#div1 ul { padding:0; margin:0; } #div1 ul li { list-style:none; } #div1 ul li a { text-decoration:none; display:block; padding:10px 20px; background-color:#f5f5f5; border:1px solid #ccc; border-bottom:none; color:#333; font-size:13px; } #div1 { width:220px; border-bottom:1px solid #ccc; } #div1 h3 { margin:0; padding:10px 20px; color:#ffffff; background:#333; font-size:16px; line-height:18px; font-weight:normal; border-top:1px solid #ccc; cursor:pointer; } #div1 h3:hover { background:#222; } #div1 a:hover { background-color:#ccc; } #div1 ul { display:none; }