I have a header which has a large image floated on one side, and a small paragraph of text on the other side. I want the paragraph to start at the bottom of the header div. If there were 5 lines in the paragraph, I want the last line to be at the bottom of the header. I’m having trouble getting the paragraph to align itself down there.
I have something like this:
<div id='header'>
<img id='logo' />
<p id='quote'></p>
</div>
And the CSS is:
div#header {
height: 200px;
}
div#header img#logo {
float: left;
}
p#quote {
float: left;
}
http://jsfiddle.net/danheberden/ymwPe/
css:
by setting
position:relativeon the parent container, you can absolute position elements inside of it 🙂