John John
John John

Reputation: 11

Div at the bottom of div

I have div containers that are placed below each other on a web page. (Its a "one pager") I want to place a div at the bottom inside each of these divs.

Here is the css for the div that i want to place it inside.

#useit {
    width: 100%;
    height: 1550px;
    background-color: #333333;
    float: left;
}

Anyone know how to do it?

Upvotes: 0

Views: 61

Answers (1)

Grant Thomas
Grant Thomas

Reputation: 45083

Without seeing at least the style for the containing element, what I can provide is this:

.container {
  position:relative;
}
.inner {
  bottom:0;
  position:absolute;
  /* other properties */
}

Upvotes: 4

Related Questions