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>
Not likely, of course, that we will see routine citizenship checks as they only involve compliance with existing federal voting laws already on the books for decades. This seems a non-issue entirely. Only fools would have the government rush headlong into an AI program few can understand or predict, or even debug...
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