I am facing a new challenge. I am trying to vertically align an HTML element to the bottom of another, but the second element's height may vary.
Please take a look at this jsFiddle.
The <a>
should be positioned at the bottom of <h1>
similar to this example - workaround.
I have attempted to use vertical-align
without success.
Is there a way to achieve this? I am open to changing the HTML structure if necessary.
Edit: I want to clarify that I am unable to use margin-top
or similar solutions due to the variable font size of H1
.
Thank you.