Login
Sign Up For Free
English
中文 (繁體)
中文 (香港)
中文 (简体)
日本語
Filipino
Bahasa Indonesia
Bahasa Melayu
Pусский
Português (Brasil)
Magyar
Français
Español
Deutsch
Čeština
العربية
Català
Dansk
Ελληνικά
فارسی
Suomi
Gaeilge
Hindi
עברית
Hrvatski
Italiano
Norsk bokmål
Nederlands
한국어
Polski
Română
Slovenský
Svenska
Türkçe
українська
беларуская
ไทย
Standard view
jeremyflint
asks
17 years ago
does anyone know of an IE7 bug where it counts padding around an image when displaying the width/height of the image in properties dialog?
latest #20
tsutrav
says
17 years ago
only one I know of is the way min-height affects #innerbox; there is a counting problem there, but I don't think it'd show in prop dialog
jeremyflint
says
17 years ago
when you right-click > properties an image in an HTML page in IE7, it includes padding in the width and height
jeremyflint
says
17 years ago
Firefox, of course, doesn't
立即下載
debsterbug
says
17 years ago
that is weird. I have not heard or seen that before.
jeremyflint
says
17 years ago
go to
kinetic.com/theservices....
and right click > properties the image in IE7 and Firefox and notice the difference in the image size
tsutrav
says
17 years ago
yep. I see the 6px padding. weird. I've never heard of that.
oldstyle
asks
17 years ago
is it all the way around the img?
debsterbug
says
17 years ago
3px on each side. I see it now and agree w/
tsutrav
that that is weird.
tsutrav
says
17 years ago
IE7 says it is
oldstyle
says
17 years ago
he has no idea either.
oldstyle
says
17 years ago
did you try putting padding: o; on #content img
tsutrav
says
17 years ago
I think he wants the padding, it's just that IE7 is adding it to the image's dimensions when calculating properties
tsutrav
says
17 years ago
so if you save it to desktop IE7 says it's a 256x191 img, but when you open it's 250x185
jeremyflint
says
17 years ago
yes, that is what is wrong here. IE is counting the padding as part of the image dimensions
oldstyle
says
17 years ago
i know. the 3px padding is on img.feature
jeremyflint
says
17 years ago
right, but IE shouldn't be counting it as part of the image size when veiwing properties
tsutrav
says
17 years ago
I think you get a finder's fee or gold star or something... I can't find this mentioned anywhere
oldstyle
says
17 years ago
someone should take all versions of IE out in the backyard and set them on fire.
oldstyle
says
17 years ago
he couldn't find it anywhere either.
oldstyle
says
17 years ago
this could be the Flint Hack.
back to top
delete
reply
edit
cancel
cancel