Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/02/2012, 12:01
Avatar de xFantaSx
xFantaSx
 
Fecha de Ingreso: agosto-2011
Mensajes: 243
Antigüedad: 12 años, 8 meses
Puntos: 20
Respuesta: Alinear Texto con Imagen

Bueno, pues yo lo haría de esta forma:

Código HTML:
Ver original
  1. <style type="text/css">
  2. .texto
  3. {
  4. font: Tahoma, Helvetica, Arial, Sans-Serif;
  5. font-size: 20px;
  6. font-weight: bold;
  7. color: #b5b5b5;
  8. text-shadow: 0 2px 0px #e9e9e9;
  9. line-height:40px;
  10. float:left;
  11. }
  12. div.imagen
  13. {
  14. height:40px;
  15. width:70px;
  16. border:solid 1px black;
  17. display:inline-block;
  18. }
  19. li {
  20.   list-style:none;
  21. }
  22.  
  23.  
  24.  
  25. </head>
  26. <li>
  27. <span class="texto">TEXTO</span>
  28. <div class="imagen"><img src="/image/test.png"/></div>
  29. </li>
  30.  
  31. </body>
  32. </html>
__________________
Aprende cómo ganar dinero en internet...o ganar dinero rapido?

Última edición por xFantaSx; 18/02/2012 a las 12:23