Adaptative Vertical Position
-
Hi, it’s me again! =]
I had images in gallery with different height values. The gallery was calculating the container height based on the height of first image, and it’s was stretching high images to fill the container. Then, I changed the CSS max-height: 100%; to max-height: auto, and high images doesn’t stretch anymore.
But, I’ve got another problem.. =/
E g. when I have a first image with a 500px height, the gallery vertical align is based on this height value. But, if my second image has 1000px height, the gallery remains vertically-aligned at 500px, and my second image overlap the Header and other elements gallery above .I’d like to know if have any way to automatically adapt the vertical align of the gallery in a page, based in each height size from each image.
You can see my gallery and this issue at: https://carlapimenteldecastro.arq.br/apartamento-setor-oeste/
Sorry about my poor english and thank you in advance.
Bruno.
- The topic ‘Adaptative Vertical Position’ is closed to new replies.