Hi Ron,

I had a similar problem where I floated an <img> left and sometimes the text
would wrap next to the image and sometimes below in IE. I fixed it by
setting the width and height attributes of the img tag to the dimensions of
the picture. This seems to help IE figure the layout of the page. If the
page is rendered before it can finish downloading the image from the server,
IE doesn't know how much space to reserve for the image and doesn't always
resize things once the image does download.

In your case since you are using a script to load images, I would change the
getImage() function to pass the height and width dimension and set these
attributes in the function. Or you could make all the images the same size
and set height and width directly on the featureImg.

Hope that helps.

Regards,
Kepler Gelotte

-----Original Message-----
From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED]
On Behalf Of Ron Jonk
Sent: Thursday, August 24, 2006 4:26 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Jumping content in IE

On my gallery I also have jumping elements only in IE  when I click  
on a thumbnail to load a bigger image in a div  with AJAX technique  
the container of the image I clicks on jumps out of its position to  
the bottom of the screen. When the content is loaded, the second time  
time I click on the same thumbnail the container won't jump maybe  
because the content I refresh is in my cache now. Looking for a  
solution a long time now. Maybe someone can help
  link: http://www.frontendplace.nl/bb/?page_id=14
Ron Jonk





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to