Before posting on here I was using chromes code inspector but I’m gutted i cant work out why I cant get the icons to sit as they do in: http://lokeshdhakar.com/projects/lightbox2/
I don’t have a solution, but some help in identifying the problem. It’s not the close icon that is the culprit, it’s the outer container size.lb-outerContainer.
Its size should adjust to fit the photos dimensions. It does adjust, but incorectly. It actually shrinks every time you change photo (< & > buttons).
Looks like it’s setting the width right, but not the height.
The size of that container has a default values in the lightbox css, but that should get overridden by the js.
So I think it’s not a css problem, but a js one, the numbers the js it putting in the styles. Unfortunately I’m not too hot with js, but there are others who are.
If that was the only place that max-height was applied to an image then yes that would be the likely culprit. (I can’t remember where I saw it as that was yesterday and miles of code ago :))