Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/03/2011, 05:36
molinillo
 
Fecha de Ingreso: marzo-2010
Mensajes: 90
Antigüedad: 14 años, 1 mes
Puntos: 2
Texto justificado sin anchura de div

Buenas!!, os traigo una duda creo q sencilla a ver si alguien me puede hechar una manita.

Tengo una caja con una imagen y un texto q ocupa el espacio sobrante algo asi:

--------------------------------
| ---------- texto texto texto texto |
| |..imagen..| texto texto texto texto |
| |..imagen..| texto texto texto texto |
| |..imagen..| texto texto texto texto |
| |..imagen..| texto texto texto texto |
| ---------- texto texto texto texto |
| texto texto texto texto texto texto |
| texto texto texto texto texto texto |
--------------------------------

El código resumido sería algo así.

Código HTML:
<div style="width:47%; float:left;">
   <div style=" float:left; margin-right:8px; margin-top:8px;">
         <img src="" alt=""  />
   </div>
   <div style="text-align:justify;">	
   <span style="text-align:justify;">
              ¡¡¡¡¡¡¡¡¡¡¡¡aqui va el texto!!!!!!!!!!
   </span>
   </div>
</div> 

El objetivo sería justificar ese texto, ya que al parecer al no tener definido un ancho no es capaz de justificarlo

gracias de antemano!!!