![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
06/11/2005, 19:05
|
| | Fecha de Ingreso: septiembre-2005
Mensajes: 16
Antigüedad: 19 años, 4 meses Puntos: 0 | |
problema con centrado de nav. Soy muy nuevo en esto y estaba probando esto y no me centra la barra de navegacion [si encuentran otro problema avisen tambien]
aca les dejo la pagina: www.hybrideology.com.ar/css
y aca el css completo
Código:
BODY {
background : #000000;
background-image: url(images/bg.gif);
background-repeat: repeat-x;
font : 8pt Verdana, Geneva, Arial, Helvetica, sans-serif;
color : #ffffff;
margin : 0px;
text-align: center;
margin: auto;
}
#contenedor {
width: 100%;
background-color : #000000;
margin: auto;
text-align: center;
margin: auto;
}
#header {
text-align: left;
width: 100%;
height : 120px;
background-color : #3B3B3B;
margin: auto;
text-align: center;
margin: auto;
}
#imgheader{
height : 100px;
width: 410px;
text-align: left;
text-align: center;
margin: auto;
}
#nav {
padding: 0;
height: 22px;
list-style: none;
display: inline;
overflow: hidden;
text-align: center;
margin: auto;
}
#nav li {
margin: 0;
padding: 0;
list-style: none;
display: inline;
margin: auto;
}
#nav a {
float: left;
padding: 20px 0 0 0;
overflow: hidden;
height: 0px !important;
height /**/:20px; /* for IE5/Win only */
}
#nav a:hover, #nav a.selected {
background-position: 0 -22px;
}
#nav a:active {
background-position: 0 -44px;
}
#tinicio a {
width: 62px;
background: url(images/home.gif) top left no-repeat;
margin: 0 0 0 1px;
}
#tautor a {
width: 62px;
background: url(images/autor.gif) top left no-repeat;
margin: 0 0 0 1px;
}
#tportfolio a {
width: 62px;
background: url(images/portfolio.gif) top left no-repeat;
margin: 0 0 0 1px;
}
#tcontacto a {
width: 62px;
background: url(images/contacto.gif) top left no-repeat;
margin: 0 0 0 1px;
}
Desde ya gracias |