Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/12/2014, 06:05
Avatar de IsaBelM
IsaBelM
Colaborador
 
Fecha de Ingreso: junio-2008
Mensajes: 5.032
Antigüedad: 15 años, 10 meses
Puntos: 1012
Respuesta: alinear verticalmente imagen

gracias por tomar el tiempo en atender a mi problema

no es un problema de compatibilidad

este es un ejemplo muy abreviado. la adaptación a distintas resoluciones y dispositivos está resulto. no viene al caso usar flexbox, más cuando busco compatibilidad

una de las soluciones es esta
Código HTML:
Ver original
  1. ul#list-opc > li {
  2.     height: 16em;
  3.     background-color: rgb(244, 244, 243);
  4.     border: 1px solid rgb(219, 218, 218);
  5.     border-top: 1px solid rgb(155, 151, 151);
  6.     display: none;
  7. }
  8.  
  9.  
  10.  
  11. ul#list-opc > li > img {
  12.     width: auto;
  13.     max-height: 14em;
  14.     max-width: 20em;
  15.     padding-left: 1%;
  16.     top: 50%;
  17.     transform: translate(0,-50%);
  18.     -webkit-transform: translate(0,-50%);
  19.     -ms-transform: translate(0,-50%);
  20. }
__________________
if(ViolenciaDeGénero) {alert('MUJER ASESINADA');}