Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/02/2008, 10:21
Avatar de Raulmmmm
Raulmmmm
 
Fecha de Ingreso: marzo-2007
Ubicación: En otro lugar que tú
Mensajes: 1.549
Antigüedad: 17 años, 1 mes
Puntos: 36
Re: como puedo poner un div a lado de otro y ambos centrarlos

Aquí lo tienes:
Código HTML:
<style type="text/css">
body{ text-align: center;}
#contenedor{ margin: 0 auto; text-align: left; width: 780px;}
.izq{ float: left; width: 390px;}
</style>
<div id="contenedor">
<div class="izq"></div>
<div class="izq"></div>
<div style="clear: both;"></div>
</div> 
Mira a ver si funciona.