Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/12/2009, 15:24
Avatar de willyfc
willyfc
 
Fecha de Ingreso: octubre-2008
Ubicación: Santa Cruz - Bolivia
Mensajes: 662
Antigüedad: 15 años, 6 meses
Puntos: 40
Respuesta: El formato de la barra de navagación

Simplemente no definidas un alto al div, el alto que pusiste es de 5px, no veo para que, pienso que debería quedarte así:
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  4. <title>Documento sin t&iacute;tulo</title>
  5. <style type="text/css">
  6. #navegador{
  7. background:#F5F4C3 url(images/fondonav.gif);
  8. border-top: 1px solid #CCC;
  9. border-bottom: 1px solid #CCC;
  10. }
  11.  
  12. #navegador ul{
  13. list-style-type:none;
  14. text-align:center;
  15. }
  16.  
  17. #navegador ul li{
  18. display: inline;
  19. text-align: center;
  20. }
  21.  
  22. #navegador a{
  23. padding: 2px 7px;
  24. color: #666;
  25. background-color: #ffff00;
  26. border:1px solid #ccc;
  27. text-decoration: none;
  28. }
  29.  
  30. #navegador a:hover{
  31. background-color: #ff9900;
  32. color: #ffffff;
  33. }
  34. </head>
  35.  
  36. <body>     
  37. <div id= "navegador">
  38.     <ul>
  39.         <li><a href="#">Inicio</a></li>
  40.         <li><a href="#">Autor</a></li>
  41.         <li><a href="#">Temas</a></li>
  42.         <li><a href="#">Estudios</a></li>
  43.         <li><a href="#">Noticias</a></li>
  44.         <li><a href="#">Cruzada</a></li>
  45.     </ul>
  46. </div>
  47. </body>
  48. </html>

__________________
WFC
codigo82