Reputation: 14002
How can i make a text stick at the bottom of a div. i tried this:
dd{
position: relative;
bottom: 0;
width: 100%;
}
but it doesn't work. jsfiddle
Upvotes: 0
Views: 119
Reputation: 293
you have a error in your sintaxis you miss the 'px'
in the bottom
property and the height
to be referenced, the position
can be relative or not depend of the location of your object
dd{
position: absolute;
bottom: 0px;
width: 100%;
height: 210px;
}
this is the correct code: Live CODE http://jsfiddle.net/gdxucte6/3/
Upvotes: 0
Reputation: 637
You have to use position: absolute;
You have to set the parent div to something else than position: static;
like position: relative;
Upvotes: 3