Problema centrando nav
Publicado por Nahuel (1 intervención) el 13/06/2016 21:05:07
Por algun motivo mi nav no queda centrado con mi header. Este es mi codigo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<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”>Redes</a></li>
<li><a href="A">Contacto</a></li>
</ul>
</div>
</nav>
<style type="text/css">
body{
background-color:#000000;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
display: inline-block;
}
li {
float: left;
padding: 0;
margin: 0;
text-align: center;
}
li a {
display: block;
color: #FFFFFF;
text-align: center;
padding: 0;
margin: 0;
text-decoration: none;
width: 200px;
/*height: 100%;*/
}
.header
{
margin: 0;
padding-bottom: 50px;
text-align: center;
}
.inner {
width: 100%;
/*max-width:960px;*/
margin:0 auto;
padding-bottom: 50px;
font-size: 325%;
text-align: center;
}
@font-face
{
font-family: "BebasNeue";
src: url(Fuentes/BebasNeue.otf) format("opentype");
}
.fuente-1
{
font-family: "BebasNeue"
}
</style>
Valora esta pregunta


0