Welcome to WebmasterWorld Guest from 18.104.22.168 , 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
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]
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.