Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/02/2012, 16:57
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: Como alinear 2 lineas de texto a una imagen

Hay varias formas, pero en todos los casos tenes que auxiliarte con otros elementos, esta es una

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <title>titulo</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. </head>
  7. <div style="display: table">
  8.  
  9. <div style="display: table-cell; vertical-align: middle; padding: 0 10px 0 0;">aaa<br />bbb</div>
  10. <img src="378.gif" alt="" width="100" height="100" />
  11.  
  12. </div>
  13. </body>
  14. </html>
Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.