godmadeus
New member
- Joined
- May 4, 2017
- Messages
- 31
- Points
- 0
i have a div as below
<div class="first" style="height:300px">
<div class="subone"><img></img></div>
<div class="subtwo">text</div>
</div>
main div height is 300px and the div inside it have a image which have variable height images. and i want the below div height to auto adjust based on the image div height.
so all the main div "first" are looking equal height.
<div class="first" style="height:300px">
<div class="subone"><img></img></div>
<div class="subtwo">text</div>
</div>
main div height is 300px and the div inside it have a image which have variable height images. and i want the below div height to auto adjust based on the image div height.
so all the main div "first" are looking equal height.