Ver Mensaje Individual
  #4 (permalink)  
Antiguo 20/11/2008, 09:19
Avatar de the_web_saint
the_web_saint
 
Fecha de Ingreso: mayo-2008
Ubicación: localhost/tierra/america/panama
Mensajes: 1.229
Antigüedad: 15 años, 11 meses
Puntos: 43
Respuesta: Flotar imagen a la derecha de texto

kseso Lo que dices es esto?
Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
p{
display: inline; float:left;
}
p imagen{
display: inline;
}
</style>
</head>

<body>
<div style="border:#000033 solid 1px; width:50%;">
<p>
aaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa
aaaaaa aaaaaaaaaaaaaaaaaaaaa aaa
aaaaaaaaaaaaaaaaaaa aaaaaaaaaaaa
aaaaaaa aaaaaaaaaaaa aaaaaaa aaa
aaaa aaaaaaa aaaaaaaaaa aaaaaaa aaa
aaaaaaa aaaaaa aaaaaaaaaa aaaaaaaa aaaaaaaaa aaaaaaa aaaaaaaa aaaaaaa aaaaaaaaaa aaaaaaa aaaaaaa a a aaaaaaa aaaaaaaaa aaaaaa  
aaaaaaa aaaaa aaaaa aaaaa
aaaaa aaaaaaa aaaaaaa
aaaaaaaa aaaaaaaaa
aaaaaaaaa aaaaaaaaaa
<img src="band_ing.jpg" width="100" height="100" class="imagen"/>
</p>
<div style="clear:both;"></div>
</div>
</body>
</html> 
De esa forma no me funciona, no se si te entendi mal.

Saludos y Gracias por responder

willyfc, probaré tu aporte, gracias por responder

EDITADO:
Ok, me ha servido el aporte de Willyfc, pero quieres decir que cuando le da un margen, no deja subir el otro elemento?, porque pensaba que si era posible.
__________________
..::The Saint::..
El pesimista se queja del viento; el optimista espera que cambie; el realista ajusta las velas.