Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/04/2014, 14:40
rascabuchitos
 
Fecha de Ingreso: abril-2011
Ubicación: Peru
Mensajes: 486
Antigüedad: 13 años, 1 mes
Puntos: 9
Respuesta: duda con margin-top: -20px;

eso si tengo


Código CSS:
Ver original
  1. *{
  2.     margin: 0;
  3.     padding: 0;
  4. }
  5.  
  6. body{
  7.     background-color: #38536F;
  8.     color: white;
  9.     font-size: 2em;
  10.  
  11. }
  12. #contenido{
  13.     margin: 0.5em auto;
  14.  
  15.     width: 920px;
  16.     height: 1300px;
  17.     text-align: center;
  18.     background-color: red;
  19.     border-radius: 0.5em;
  20.  
  21. }
  22. header, nav, footer{
  23.     background-color: pink;
  24.     margin: 0.5em auto;
  25.     width: 900px;
  26.     text-align: center;
  27. }