Image Thumbnail Viewer - Image not centered
1) Script Title: Image Thumbnail Viewer
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm
3) Describe problem: Image is not centered
I have recently decided to use your very nice Thumbnail Viewer, but I really don't understand what may be the problem with it or why it is not centering the images.
On my 19 inch monitor the large image that pops out has a significant offset and because of that a horizontal scroll appears.
I have built a short example to illustrate the issue, nothing more than a few nested divs with relative positioning.
I also tried position: fixed; for the #thumbBox and this centered the image but since I have very tall images, only half of them would have been visible.
I would really appreciate if you'd explain to me why does this happen or what should I improve to make it work.
Thank you in advance and best regards from Romania :)