Ver Mensaje Individual
  #10 (permalink)  
Antiguo 23/11/2008, 18:14
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 5 meses
Puntos: 280
Respuesta: Autoagrandar imagen veticalmente (no repetirla...)

Si no te importa que la imagen se pixele o deforme, como de hecho lo hace en el ejemplo que pones, puedes usar esta técnica:

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="es-es">
<head>
<title>IMAC</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
.caja {width: 800px;height: 60px;position: relative;}
.caja img {width:100%; height: 60px;position: absolute; top: 0; left:0;}
span {position: relative;color: #fff}
</style>
</head>
<body>
<div class="caja">
<img src="tuimagen.jpg" alt="foto" />
<span>Texto dentro de esa caja</span>
</div>
</body>
</html>
__________________
Visita mi nueva web idplus.org