Ver Mensaje Individual
  #6 (permalink)  
Antiguo 07/06/2010, 11:57
Avatar de gVenom
gVenom
 
Fecha de Ingreso: julio-2008
Ubicación: Costa Rica
Mensajes: 1.458
Antigüedad: 15 años, 9 meses
Puntos: 53
Respuesta: Cuestion de divs

Bueno, no se si me explique mal. yo puse to código asi:
Código HTML:
<html>
<head></head>
<body>
<div style="height:20px; width:100px; background-color:#000; border:1px;">
    <div style="height:100%; width:25%; float:left; background-color:#F00; border:1px; margin-left:12%"></div>
    <div style="height:100%; width:25%; float:left; background-color:#FF0; border:1px;"></div>
</div>
</body>
</html> 
y me aparecen centrados los cuadritos de adentro.
__________________
"Al que venciere y guardare mis obras hasta el fin, yo le daré autoridad sobre las naciones."
Apocalipsis 2: 26
Servicios para Pymes http://dst.co.cr