• Welcome to ForumKorner!
    Join today and become a part of the community.

Image Width in IE 7

OliverE

Power member.
Reputation
0
Just noticed a small issue that only occurs with Internet Explorer 7.

If I set an image width to 100%, in Firefox, Chrome etc, it will increase the image size to the maximum space that it can fit in. So if I have a 50px space, the image will be resized to 50px.
But in IE7 it thinks width 100% means set the width of the image to 100% of its actual size so if there was a space of 50px and the images true width was 100px then the image would display at 100px.

Does anyone know a way round this issue as at the moment ive got browser conditionals so that people with IE 7 cannot see this image.

Thanks
 

SGT.Code

Active Member
Reputation
0
ok um i dont know but next wendsday if you still havent figured it out il ask my web development lecturer
 

OliverE

Power member.
Reputation
0
That would be cool,
I can write a more formal question if you'd like so you can just hand it him, instead of trying to explain it?
 

SGT.Code

Active Member
Reputation
0
yer but i can allways show him your original post he should get the idea
 

OliverE

Power member.
Reputation
0
Forum is transistional.
Did you tell him that its only in IE that it doesnt work.
Maybe I should make some screenshots because I had to hide the image from internet explorer users.