Ver Mensaje Individual
  #6 (permalink)  
Antiguo 28/07/2011, 06:25
laexpo
 
Fecha de Ingreso: mayo-2011
Mensajes: 22
Antigüedad: 12 años, 10 meses
Puntos: 1
Respuesta: Problema para alinear imágenes en una tabla

Batan, el html va así:

Código HTML:
<div id="content">
  <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td align="center" valign="middle"><img class="foto" src="http://www.laexpo.com.ar/media/files/ficha/2011/06/24/131118/juego_comedor02.png" border="0" /></td>
    </tr>
  </table>
</div> 
y el css es así:

Código CSS:
Ver original
  1. #content {
  2.     background-color: #9999FF;
  3.     height: 150px;
  4.     width: 150px;
  5.     margin: 150px;
  6. }
  7. #content .foto {
  8.     max-height:150px;
  9.     max-width:150px;
  10. }

Probé con margin y varias cosas más pero sigue el mismo error en ie.

Gracias por tus respuestas.