Método 1:
El código CSS de este bloque es el siguiente:#contenedor {
height : 80%;
margin-top : 10%;
margin-bottom : 10%;
border : 1px solid navy;
width : 60%;
margin-left : auto;
margin-right : auto;
padding : 1em;
background : rgb(240, 255, 255);
}
#contenido {
margin-top : 10%;
margin-bottom : 10%;
height : 50px;
border : 1px solid black;
background : #ffd12e;
}
Probá los márgenes:
- Aumentar
- Disminuir
(valor actual: )
Altura del contenedor: 80% - Fijar