Forum Moderators: open

Message Too Old, No Replies

IE problem with images.

         

ahmedtheking

11:35 am on Oct 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is really strange; IE has a problem with getting the dimensions of images on my site right. The images have the right dimensions, and work fine in FF, Opera, Safari, every browser under the sun, even IE 5! But not IE 6! Really lame. Is there any sort of bug anyone's aware of? Is there a work around? Maybe if I use relative CSS?

penders

1:41 pm on Oct 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



IE has a problem with getting the dimensions of images on my site right.

Is this for images that don't have the dimensions explicitly defined in the HTML/CSS...?
ie.

<img src="myimage.gif">

-----
This sounds similar to a query that was posted the other week... (although I'm not sure whether it was resolved or not)
[webmasterworld.com...]

ahmedtheking

3:36 pm on Oct 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Nah, they are defined! It seems, the only fix was to add 'style' att to the image tag, so lame.

rocknbil

6:34 pm on Oct 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you mean visually they are incorrect? Check for padding attributes on the image in CSS.

ahmedtheking

7:05 pm on Oct 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yeah, they're not affected by any other CSS! Just really random..

tedster

7:17 pm on Oct 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is your site victim of automatic image resizing -- that silly "feature" that MS added in IE6?

[microsoft.com...]

ahmedtheking

7:23 pm on Oct 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It might be!