here is code css code--------------------- .nav-container a{ width: 145px; height: 18px; display: block; background: #E5E0E7; border: 1px solid #BBAECC; text-align: center; font-family: Trebuchet MS, Arial, Helvetica, sans-serif; text-decoration: none; font-size: 12px; font-weight: bold; margin: 2px 0px; padding: 3px 0px; color: #000000; } .nav-container a:hover{ background: #BBAECC; border: 1px solid #8C77AA; color: #FFFFFF; } li ul { display: none; } li:hover > ul { display: block; } -------------------- -html code------------------ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <link id="Style" href="css.css" type="text/css" rel="Stylesheet" /> </head> <body> <div class="nav-container"> <a href="wewew">Item 1</a> <a href="">Item 2</a> <ul> <li> <a href="">Item 3</a></li> </ul> <a href="">Item 3</a> <a href="">Item 4</a> <a href="">Item 5</a> <a href="">Item 6</a> <a href="">Item 7</a> </div> </body> </html>
Are you just cross posting all over the place? That is inconsiderate to the disparate groups that are duplicating each other's attempts to help you. It is worth noting that the first response on each of these forums asked you the same thing. Does that indicate you are not even showing us the consideration of formulating a decent question? See http://www.catb.org/~esr/faqs/smart-questions.html gary