In CSS make the container div position:relative. The text then needs to be position:absolute and padding:0.

The following example places a header at the bottom of the container. The alignment is done in the text.

#container{
position:relative;
width:400px;
height:300px;
}
#container h1{
position:absolute;
bottom: 0;
padding:0px;
margin:0px;
}

Leave a Reply