Hola, sucede que, al aplicar la propiedad 'padding' al "header", no observé ningún cambio en mi sitio web. Aquí dejo mis códigos HTML y CSS:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF.8">
<title> Productos - Barbería Alura
</title>
<link rel="stylesheet" href="pruductos.css">
<link rel="stylesheet" href="reset/reset.css"
</head>
<body>
<header>
<div class="caja">
<h1> <img src="imagenes/logo.png" alt="Logo Barbería Alura"> </h1>
<ul>
<nav>
<li><a href="HTML1/index.html">Home</a></li>
<li><a href="productos.html">Productos</a></li>
<li><a href="http://www.elespectador.com">Contacto</a></li>
</nav>
</ul>
</div>
</header>
</body>
</html>
Y el CSS:
header {
background-color: #BBBBBB;
padding: 20px 0;
}
.caja{
width: 940px;
position: relative;
margin: 0 auto;
}
nav{
position: absolute;
top: 110px;
right: 0px;
}
nav li{
display: inline;
margin: 0 0 0 100;
}
nav a {
text-transform: uppercase;
color: #000000;
font-weight: bold;
font-size: 22px;
text-decoration: none;
}