Ver Mensaje Individual
  #1 (permalink)  
Antiguo 27/07/2011, 06:32
Avatar de ermuni
ermuni
 
Fecha de Ingreso: noviembre-2010
Mensajes: 33
Antigüedad: 13 años, 5 meses
Puntos: 1
Centrar menu horizontal CSS

Bueno amigos, estoy ya aburrido de intentar centrar el menu de mi web, no se como hacerlo, os pongo una captura y el código:



El código:

Código:
.ebul_cbinsmenu, .ebul_cbinsmenu ul {
  background-color: #FFFFFF;
  border: 1px solid #646464;
  display: block;
  font-size: 1px;
  margin: 0 auto;
  overflow: auto;
  padding: 2px;
  position: absolute;
  visibility: hidden;
  
}

.ebul_cbinsmenu_shadow {
  background-color: #777777;
  display: block;
  margin: 0px;
  overflow: hidden;
  position: absolute;
  visibility: hidden;
}

.ebul_cbinsmenu table {
  border-collapse: separate;
}

.ebul_cbinsmenu tr {
  background-color: #FFFFFF;
  cursor: pointer;
  font-size: 1px;
}

.ebul_cbinsmenu td {
  border: 1px solid #FFFFFF;
  padding: 3px;
  text-align: left;
}

.ebul_cbinsmenu td a {
  color: #000000;
  font-family: "Tahoma", serif;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
}

.ebul_cbinsmenu tr.hot, .ebul_cbinsmenu tr.expanded {
  background-color: #F0F0F0;
}

.ebul_cbinsmenu tr.hot td, .ebul_cbinsmenu tr.expanded td {
  border-color: #8C8C8C;
}
.ebul_cbinsmenu tr.hot a, .ebul_cbinsmenu tr.expanded a {
  color: #000000;
  font-family: "Tahoma", serif;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
}

ul.ebul_cbinsmenu {
  position: absolute;
  visibility: hidden;
}                               

.cbinsmenuebul_menulist .spaced_li {
  padding: 0px 1px 0px 0px;
}

.cbinsmenuebul_menulist li {
  list-style-type: none;
  float: left;
  
}

.cbinsmenuebul_menulist img {
  vertical-align: bottom;
  
}

.cbinsmenuebul_menulist {
  margin: 0 auto;
  padding: 0px;
  line-height: 0px;
}
.container .nav table tr td table tr td {
	text-align: center;
}
.container .content table tr td {
	text-align: justify;
}
.container .content table tr td {
	text-align: center;
}
.container .content table tr td {
	text-align: center;
}
Gracias!!