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

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #158510

    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: 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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.