Ver Mensaje Individual
  #3 (permalink)  
Antiguo 21/11/2008, 16:48
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: Alinear imagen a la derecha sin que el texto continue debajo de la imagen

Pruébalo así:

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>IMAC</title>
<style type="text/css">
.foto {float: right; text-align: center;}
.foto img {display: block;}
</style>
</head>
<body>
<div id="contenedor">
<div class="foto">
<img src="pepe.jpg" />
Pepe comiendo
</div>
Mucho TextoMucho TextoMucho TextoMucho TextoMucho TextoMucho TextoMucho TextoMucho TextoMucho TextoMucho Texto....
</div>
</body>
</html>
__________________
Visita mi nueva web idplus.org