Cita:
Iniciado por Impostor
Porque el div no tiene contenido ni un ancho ni alto predefinido. Prueba con
<div style="background-color:#FF0000; width:100px; height:100px;">
<?php while( ... ){ ?>
<div style="float:left; width:30%"> hola bucle </div>
<?php } ?>
</div>
Como pero quisiera que fuera autoincrementable, es decir que se agrande a medida que se reproduscan los div del centro.