The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Max-width image not working with fancybox in IE
Hi guys,
I have a problem (with every version of IE, even IE 10). With fancybox, the image is not respecting max-width: 100% and is therefore breaking my layout. Please take a look here: http://debourg-dev.ch/domecar/occasions/ferrari-f430-spider/ in IE
Any ideas?
Many thanks
It’s because of this:
a.main-img { width: auto; }
If you change it to 100%, that fixes it, but I’m not sure if that will affect anything else on the rest of your site.