I'm struggling to align the height of the pink '#images-wrap
' with the main image. When there are too many small rollover images on the right, it causes the pink div
to extend beyond the main image's height. If I could make them match in height, I could then use overflow hidden
to hide the extra rollover images below and enable scrolling for viewing them.
Using a table layout doesn't solve the issue. Although using child div
elements with hidden overflow seems like it should work, setting the height causes problems with image aspect ratios. The 3:2 aspect ratio of the images must be maintained.
The attempted javascript solutions fail to retrieve the image heights. Even fetching the child image height proved unsuccessful.
If anyone knows a magic trick to accomplish this, your advice would be greatly appreciated!