I want to overlap text and imagery using absolute positioning on the text div.
html
<div id="article-txt">
</div>
<div id="article-img">
</div>
css
#article-txt {
min-height: inherit;
position: absolute;
bottom: -50px; right: 0;
}
#article-img {
display: block;
position: relative;
}
I am using bottom: -50px;
but that is from the top of the text div. I want it to be applied from the bottom of the text div (its height is dynamic)
EDIT: I want to display text over the image but not all the text. I want it to be partially over the image and partially off (bottom-right with overhang) I want to control it from the bottom so that I can control how much sticks out past the bottom