Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/08/2010, 16:54
trevol
 
Fecha de Ingreso: agosto-2008
Mensajes: 606
Antigüedad: 15 años, 8 meses
Puntos: 11
alinear horizontal lista en div

hola amigos tengo este código y me gustaría que me ayudarais a alinear la lista de forma horizontal. Se que es con display:inline pero no se donde aplicarlo os dejo código.

Código HTML:
 <style type="text/css">

#logo
{
margin-left:150px;
width: 900px;
height: 200px;
background:  url(la.JPG) no-repeat;
}
#menu
{
margin:auto;

text-align:center;
width: 900px;
height: 200px;
margin-left:230px;
background:  url(menu.JPG) no-repeat;
}

</style>
</head>

<body>
<div id="logo"></div>
<div id="menu">
<ul>
<li >home</li>
<li >home</li>
<li >home</li>
<li >home</li>
</ul>
</div>
</body>
</html> 
tendria que quedar la lista dentro del menú, gracias.