Welcome to WebmasterWorld Guest from 188.8.131.52 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Div inside a div bottom allignment hp_solomon msg:3889444 11:18 pm on Apr 9, 2009 (gmt 0) I have a container div set to 100 by 100 pixels, inside of this div is another div (that has texts) that i wanted it to be at the bottom of the container div. How can i do that?
here is the screenshot.
i want the div that has "playing arcade amazon" to be at the bottom of the square div.
thanks in advance!
[ edited by: swa66 at 12:21 am (utc) on April 10, 2009] [edit reason] NO personal URLs please see ToS and forum charter [/edit]
swa66 msg:3889477 12:24 am on Apr 10, 2009 (gmt 0)
Give the outer div
in order to make it gain "position". Give the inner element (why a div? if it's text, why not use a <p> ?)
position: absolute; bottom: 0;
To have it position relative to its parent that has position and align bottoms.