0

In a sort of follow up to this question, I have another problem in IE8.

When clicking the gallery and the lightbox appears, the images are overflowing their containing element (by the looks of things).

IE8
(source: alexanderdickson.com)

Has anyone ever experienced this before? Of course, the good guys (Firefox/Safari/etc) display it perfectly.

How do I fix this?

Thanks

UPDATE

Should I just got with a new Lightbox?

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
alex
  • 479,566
  • 201
  • 878
  • 984

3 Answers3

0

If it's always just a tiny bit around the borders, it'd be a quick and dirty fix to just add overflow: hidden to the fancybox container.

alex
  • 479,566
  • 201
  • 878
  • 984
Mike Crittenden
  • 5,779
  • 6
  • 47
  • 74
  • Except then I'll lose some of the image, and by the looks of things, the white border too. – alex Feb 11 '10 at 02:58
0

I ended up using prettyPhoto. Not only does it work, but it provides a much better API. I could skip all my hidden link building and triggering, I passed the array of filepaths straight in and it worked great cross browser.

alex
  • 479,566
  • 201
  • 878
  • 984
0

Set the DOCTYPE, for example xHTML1.1 Transitional for the document and the problem will be solved. Or enable X-Compability mode.

j0k
  • 22,600
  • 28
  • 79
  • 90