Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/05/2012, 23:48
sandymiau
 
Fecha de Ingreso: mayo-2012
Ubicación: En la Tierra
Mensajes: 41
Antigüedad: 12 años
Puntos: 3
Respuesta: Alineación Imagenes

TECNICA CSS PARA background-image
Código:
html {
   width:100%;
   height:100%;
   background:url(logo.png) center center no-repeat;
}
TECNICA CSS PARA IMAGEN INLINE
Código:
img {
   position: absolute;
   top: 50%;
   left: 50%;
   width: 500px;
   height: 500px;
   margin-top: -250px; /* Half the height */
   margin-left: -250px; /* Half the width */
}
TECNICA PARA TABLA
Código:
html, body, #wrapper {
   height:100%;
   width: 100%;
   margin: 0;
   padding: 0;
   border: 0;
}
#wrapper td {
   vertical-align: middle;
   text-align: center;
}

<html>
<body>
   <table id="wrapper">
      <tr>
         <td><img src="logo.png" alt="" /></td>
      </tr>
   </table>
</body>
</html>