The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Image height when resize Reply To: Image height when resize


I could solve your problem with the following solution:
Set display: flex; on the DIV with class profile-area, set height: 100%; on the UL with class photo-profile, set height: 100%; on .photo-profile li and change the max-height property on .photo-profile li img to max-height.
You’ll probably have to do something with media queries to only do this on the larger screens.