Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/11/2006, 04:52
Avatar de Tk421
Tk421
 
Fecha de Ingreso: agosto-2001
Ubicación: Australia
Mensajes: 384
Antigüedad: 22 años, 7 meses
Puntos: 0
XHTML CSS y ... posicionar elementos

Hola a todos,

Hace algunos dias que estoy pasando del HTML 4.01 al XHTML. No obstante, la restricción para usar tablas, me esta dando bastantes dolores de cabeza. En fin, lo que quiero hacer es lo siguietne:

Caso 1:

Código:
DIV
     IMAGEN TEXTO         IMAGEN TEXTO      IMAGEN TEXTO
     IMAGEN TEXTO         IMAGEN TEXTO      IMAGEN TEXTO
/DIV
Caso 2:
Código:
DIV
     TEXTO                MAS TEXTO MAS TEXTO MAS TEXTO
     TEXTO2               MAS TEXTO MAS TEXTO MAS TEXTO
     TEXTO34              MAS TEXTO MAS TEXTO MAS TEXTO
     TXT                  MAS TEXTO MAS TEXTO MAS TEXTO
     TEXTO                MAS TEXTO MAS TEXTO MAS TEXTO
/DIV
En el caso 1, quiero alinear tres columnas de elementos, en varias filas.

En el caso 2, quiero poner una cabecera (TEXTO) y un texto adicional (MAS TEXTO), pero que quede el "TEXTO ADICIONAL" alineado independientemente de la longitud de "TEXTO"

¿Alguna idea?
¿Como hacerlo sin usar tablas? (Restriccion del XHTML, no se usan tablas con files de diseño)

Un saludo y gracias por su atencion
__________________
Tk421
Configuration management for Linux