PDA

Click to See Complete Forum and Search --> : IE6 Distorting Pictures


kevincdg
06-27-2007, 07:04 PM
One of my in-house jobs is for my university and their human resources department.

I CANT figure out what's wrong with this.

www.unr.edu/hr

It doesn't happen right away, only sometimes in IE6. The picture of the lady on the right as well as the logo in the top left and the two logos in the bottom right all distort. If you continously refresh they load correctly. It seems to be only 50% of the time.

I looked through all the code, and I can't find anything that'd do it.

My only thought would be the 'no-cache' line I have toward the top, but I removed it and it still happened.

any help would be greatly appreciated!

resdog
06-27-2007, 08:43 PM
Try deleting this section of CSS (or commenting it out):

img {
width:auto;
height:auto;
}

If you've sized the images in photoshop correctly to their final size, when you put the <img> tag with no values for height and width, it defaults to the size of the image. I've never used the "img {height:auto; width:auto;}", but it seems like redundancy to me. It could be why IE isn't rendering properly.

kevincdg
06-27-2007, 08:56 PM
Yes, Thanks. God, One Line Of Code Creating A Nightmare!