Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/03/2014, 06:06
KatonSP
 
Fecha de Ingreso: abril-2009
Mensajes: 63
Antigüedad: 15 años
Puntos: 0
Respuesta: Redimensionar div automaticamente

Buenas, al final he encontrado una forma de hacerlo, este es el código

Código HTML:
<div id="container">
    <ul id="list">
        <li><img height="240px" widht="auto" src="https://lh6.ggpht.com/DTkTSeycCBedLKFEDdFf3n_uPxz2uv3JeZPj7Vzd5imFRIYBrtUNUQ8HRJaeY9L6JeB5=h310"/></li>
        <li><img height="240px" widht="auto" src="https://lh6.ggpht.com/DTkTSeycCBedLKFEDdFf3n_uPxz2uv3JeZPj7Vzd5imFRIYBrtUNUQ8HRJaeY9L6JeB5=h310"/></li>
        <li><img height="240px" widht="auto" src="https://lh6.ggpht.com/DTkTSeycCBedLKFEDdFf3n_uPxz2uv3JeZPj7Vzd5imFRIYBrtUNUQ8HRJaeY9L6JeB5=h310"/></li>
        <li><img height="240px" widht="auto" src="https://lh6.ggpht.com/DTkTSeycCBedLKFEDdFf3n_uPxz2uv3JeZPj7Vzd5imFRIYBrtUNUQ8HRJaeY9L6JeB5=h310"/></li>
        <li><img height="240px" widht="auto" src="https://lh6.ggpht.com/DTkTSeycCBedLKFEDdFf3n_uPxz2uv3JeZPj7Vzd5imFRIYBrtUNUQ8HRJaeY9L6JeB5=h310"/></li>
        <li><img height="240px" widht="auto" src="https://lh6.ggpht.com/DTkTSeycCBedLKFEDdFf3n_uPxz2uv3JeZPj7Vzd5imFRIYBrtUNUQ8HRJaeY9L6JeB5=h310"/></li>
        <li><img height="240px" widht="auto" src="https://lh6.ggpht.com/DTkTSeycCBedLKFEDdFf3n_uPxz2uv3JeZPj7Vzd5imFRIYBrtUNUQ8HRJaeY9L6JeB5=h310"/></li>
    </ul>
</div>

<style>
    
    
    #container{
        width: 200px;
        overflow-y:hidden;
        overflow-x:scroll;
        white-space:nowrap;
        text-align:center;
    }
#list{
    
    
    
}

#list li{
    display: inline;
    
}


</style> 
Saludos!