Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Probando</title> <style type="text/css"> body { margin:0; padding:0;} /** { margin:0; padding:0; }*/ #centro{ width:650px; position:absolute; margin:0 auto; text-align:center; /*height:140px; margin-top:0; top:0px; text-align:center; padding:7px; padding-bottom:0; padding-top:0; border:0;*/ overflow:hidden; } #ejemplo { text-align: center; } #navcontainer ul { margin: 0; list-style-type: none; text-align: center; background-color:#c5e3e9; padding-top: 7px; padding-right: 0px; padding-bottom: 7px; padding-left: 0px; } #navcontainer ul li { display: inline;font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size:1em; } #navcontainer ul li a { text-decoration: none; padding: .2em 1em; color: #fff; color:#0d5394; background-color: #036; background-color: #4986BF; background-color:#3BACBE; background-color:#c5e3e9; } #navcontainer ul li a:hover { color: #fff; background-color: #369; } </style> </head> <body> <div id="ejemplo"> <img src="imagenes/encabezado_hotel.jpg" alt="Hotel" width="670" height="140" /> </div> <div id="navcontainer"> <ul> <li><a href="#">Nuestro Hotel</a></li> <li><a href="#">Celebraciones y Congresos</a></li> <li><a href="#">Turismo</a></li> <li><a href="#">Noticias</a></li> <li><a href="#">Contacto</a></li> </ul> </div> </body> </html>