CSS: Float derecho en IE no funciona!

  • champi0n
  • Graduate
  • Graduate
  • Avatar de Usuario
  • Registrado: May 05, 2006
  • Mensajes: 199
  • Status: Offline

Nota Septiembre 19th, 2007, 9:22 pm

Se muestra perfecto en Firefox, pero en IE el flotador se alinea zona derecha en lugar de carrozas derecha. (Lo que significa que el texto de introducción es bajo el área de flotación dejando un espacio en blanco grande a la izquierda de la boya en lugar de llenarlo con el texto)

Código: [ Select ]
<div style="position: relative; float:right; width:236px;">
<img src="images/bucket.gif" width="236" height="214" alt=""/>
text here
text here
text here
</div>
<div id="title">Introduction</div>
<p>content here</p>
  1. <div style="position: relative; float:right; width:236px;">
  2. <img src="images/bucket.gif" width="236" height="214" alt=""/>
  3. text here
  4. text here
  5. text here
  6. </div>
  7. <div id="title">Introduction</div>
  8. <p>content here</p>
[PHP SOURCE CODE ENCRYPTION SOFTWARE] -- Protect your valuable source code!
Add product licensing to your encrypted php scripts, expiry dates and locking to specific ip's or domains.
Protect. Lock. Distribute.
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Septiembre 19th, 2007, 9:22 pm

  • Bogey
  • Bogey
  • Genius
  • Avatar de Usuario
  • Registrado: Jul 14, 2005
  • Mensajes: 8211
  • Loc: USA
  • Status: Offline

Nota Septiembre 20th, 2007, 1:46 pm

Sólo una sugerencia. Pruebe una posición diferente, como estática, por ejemplo. IE interpreta posición un poco diferente a Firefox, o por lo que ha aprendido de la experiencia. Asimismo, recomendamos que utilices un fichero CSS externo. Estoy seguro de que sabe cómo aplicar esas.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • Attemptor
  • Born
  • Born
  • No Avatar
  • Registrado: Mar 02, 2009
  • Mensajes: 1
  • Status: Offline

Nota Marzo 2nd, 2009, 1:56 pm

IE no parece como el "flotar" cuando la propiedad de su parte una <div> etiqueta. Tuve el mismo problema y se trasladó mi "float: right" el idioma de la etiqueta <table> que tuve dentro de mi <div>. Creo que en este ejemplo, una persona puede moverlo a la etiqueta <img> y que trabajo.

Publicar Información

  • Total de mensajes en este tema: 3 mensajes
  • Usuarios navegando por este Foro: roelof y 136 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC