Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/01/2015, 09:20
Avatar de dmrx921
dmrx921
 
Fecha de Ingreso: enero-2015
Mensajes: 35
Antigüedad: 9 años, 3 meses
Puntos: 0
Duda de novato

Hola tengo un problema como hago para que la cabecera de la web se quede pegada arriba sin que haya hueco por que no consigo quitar el hueco y me gustaría saber que estoy haciendo mal, os dejo el css que estoy utilizando.

Código css:
Ver original
  1. #todo{
  2.        
  3.         width:100%;
  4.        
  5.        
  6.         background-color:pink;
  7.  }
  8. #contenedor{
  9.  
  10.         height:100%;
  11.         margin-left:10%;
  12.         margin-right:10%;
  13.        
  14.         background-color:red;
  15.        
  16.         background:url(“1.jpg”);
  17.         background-repeat: repeat-y;
  18.         background-repeat: repeat-x;
  19. }
  20. #cabecera{
  21.         width:100%;
  22.         height:12%;
  23.         background-color:grey;
  24.         float:right;
  25.         font-size:70px;
  26.        
  27. }
  28. #menu{
  29.         width:86.6%;
  30.         float:right;
  31.         background-color:pink;
  32.         position:relative;
  33.         text-align:center;
  34.        
  35. }
  36. #panel{
  37.         border-radius: 15px;
  38.         height:140px;
  39.  
  40.         background-color:blue;
  41.         width:19.3%;
  42.         position:fixed;
  43.         top:13.5%;
  44. }
  45. #contenido{
  46.         height:90%;
  47.         background-color:lime;
  48.         width:75%;
  49.         float:right;
  50.        
  51.            
  52. }