Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Div inside a div bottom allignment

11:18 pm on Apr 9, 2009 (gmt 0)

New User

10+ Year Member

joined:Oct 16, 2005
posts: 35
votes: 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]

12:24 am on Apr 10, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member swa66 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 7, 2003
votes: 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.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members