How can I place a div at the bottom of another div (so within the bigger div)?
How can I plac开发者_高级运维e a div at the bottom of another div (so within the bigger div) ?
Thanks in advance.With CSS:
Div1 {position:relative;}
Div2 {position:absolute;bottom:0}
http://jsfiddle.net/PvSra/
Simply set the outer div to position:relative
and the inner to position:absolute
and bottom:0
.
精彩评论