I need the h1 and the nav to be centered without spaces between them.
<h1 align= center>
<img src= Imagenes\header.jpg>
</h1>
</div>
<span class="fuente-1">
<div class="inner">
<nav>
<ul>
<li><a href=”A”>Inicio</a></li>
<li><a href=”A”>Modelos</a></li>
<li><a href=”A”>Social</a></li>
<li><a href="A">Contacto</a></li>
</ul>
</div>
</nav>
<style type="text/css">
body{
background-color:#000000;
}
nav {
width: 100%;
background: #000000;
padding: 0;
}
nav ul {
overflow: hidden;
margin: 20%;
padding: 0;
}
nav ul li {
list-style: none;
float: left;
text-align: center;
/*border-left: 3px solid #fff;
border-right: 3px solid #ccc;*/
width: 25%; /* fallback for non-calc() browsers */
box-sizing: border-box;
}
nav ul li a {
display: block;
text-decoration: none;
color: #FFFFFF;
padding: 10;
}
.inner {
width: 100%;
/*max-width:960px;*/
margin:0 auto;
padding-bottom: 0px;
padding-top: 0px;
font-size: 325%;
text-align: center;
}
@font-face
{
font-family: "BebasNeue";
src: url(Fuentes/BebasNeue.otf) format("opentype");
}
.fuente-1
{
font-family: "BebasNeue"
}
</style>