I've got the following problem. I have an <h3> parent element with an <a> child. The <h3> has fixed height and width. I would like the child <a> to be positioned at the bottom of the parent.
The html:
<h3><a href="">This is short</a></h3>
<h3><a href="">This is a long one that should run two lines</a></h3>
I place most of the blame for the crappy state of gaming on smartphones. But Unreal Engine gets some of the blame also for allowing everyone and their dog to make a video game. The diamonds get buried in a massive dunghill, which from the sound of it is about to grow much larger.
Hello,
There were some claims he was involved in the malware scene in Montréal in the 00's, but I don't think they were ever substantiated.
Regards,
Aryeh Goretsky
Question
jordan.
Hi there,
I've got the following problem. I have an <h3> parent element with an <a> child. The <h3> has fixed height and width. I would like the child <a> to be positioned at the bottom of the parent.
The html:
The CSS:
What I currently see:
What I'd like to see:
And I would like to achieve it without using [i]display:table [/i]or [i]position:absolute.[/i]
Any help is much appreciated.
Thanks,
Jordan
Link to comment
https://www.neowin.net/forum/topic/1153234-aligning-text-to-the-base-of-its-parent/Share on other sites
4 answers to this question
Recommended Posts