Forum Moderators: not2easy
I'm having a problem with strange, whitish borders on images when I use the ctrl+scroll function in IE 7. At original size it looks fine but if I ctrl+scroll up or down the border appears. Everything else looks splendid, nomatter the size.
Why is this?
Is there a way around it?
Best wishes
Samuel
Welcome to WebmasterWorld [webmasterworld.com] :)
Does img {border:none;} in your css fix it?
No, I've tried to disable borders in every possible way. And succeeded in a way, there is no border in "normal-mode". When you change the size by ctrl-scrolling it appears though.
I'm trying to come up with a logical reason to why the border appears but I'm failing :/
To clarify, the border isn't really a border. It's more like a whitish edge on the image - not to be confused with the borders achieved with css or by linking your image and so on.
Thanks for your effort Limbo :)
It's not highly visible, my only suggestion is due to the placement of your image its creating the wrong color soft edge if it's really visible.
Edit: Actually upon some further testing using a background image that is muticolored it appears that it adds a transparency to the edge of the image and has no rhyme or reason as to what it does. Zooming in quite far produced a 3px semi transparent edge on the right and bottom of the image yet nothing on left or top...
To tell you the truth I doubt there is anything you can do to prevent this because there is no pattern as to why or when the border appears.
I guess I'll just have to live with it. A shame though, those borders takes the edge out of the design :/
Hope noone uses the darned ctrl-scroll :P
Thanks for your effort man, you seem to have put more work into it then even I did! :)