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

Home Forums CSS Resize width according to sibling. Re: Resize width according to sibling.


Thank you so much! I went through your code and I was able to solve it. I’ve updated the example given:
I made a few changes like adding a border and hiding the images on hover. But I still have one problem. When the layout changes to 1 column the images are horizontally aligned to the center. How can I make them align to the left?
My CSS is really weak. Thanks a lot for helping me.