Css Rollover with image
<!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> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> body { text-align:center; } #nav{ width:600px; margin-left:auto; margin-right:auto; } #nav ul, #nav li { margin:0; padding:0; list-style:none; } li{ float:left; width:100px; height:22px; line-height:22px; background:url(images/roll-up.jpg) no-repeat left top; } #nav a{ display:block; width:100px; height:22px; background:url(images/roll-down.jpg) no-repeat left top; text-decoration:none; font-size:x-small; } #nav a:hover{background:transparent;} </style> </head> <body> <div id="nav"> <ul> <li><a href="#">Testing 1</a></li> <li><a href="#">Testing 2</a></li> <li><a href="#">Testing 3</a></li> <li><a href="#">Testing 4</a></li> <li><a href="#">Testing 5</a></li> <li><a href="#">Testing 6</a></li> </ul> </div> </body> </html>