Ver Mensaje Individual
  #7 (permalink)  
Antiguo 30/07/2008, 02:37
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: Lista horizontal centrada en un div

Prueba esto:

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>icisneros</title>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<style type="text/css">
* {margin:0;padding:0;}
body {text-align: center;}
.contenedor {margin: 30px;
font-weight: bold;
}
ul {list-style-type: none;
text-align: center;}
li {background-color: #ccc;padding: 4px 12px;display: inline;
}
</style>
</head>
<body>
<div class="contenedor">
<ul>
<li>uno</li>
<li>dos</li>
<li>tres</li>
</ul>
</div>

</body>
</html>
__________________
Visita mi nueva web idplus.org