Vertically aligning a floated element to the bottom of its container
I have the <img/> element floated right, and the text is wrapping as I want. But now the image wants to remain at the top. I want the image to always be aligned vertically to the bottom of the container (
.main_1_aboutUs
)
Is there any possible way to also get the img to also align to the bottom of the container in addition to being floated?
Position absolute w/ 'bottom: 0' ruins the float, as would making the container display:flex or grid.
Here's the HTML starting with the parent (.main_1_aboutUs):
CSS:
1 Reply
Once an element is floated, do you just lose all control of its vertical positioning/alignment?