Inspiration For Creative Minds
Home » News » Align DIV to bottom of page using CSS  

Filed under News

his example will align a Div to bottom or baselineusing CSS property position:absolute; bottom:0;

The CSS part

#parentDiv
{
  position:relative;
}
#parentDiv .childDiv
{
  position:absolute;
  bottom:0;
}

The HTML part

<div id="parentDiv">
  <div class="childDiv"></div>
</div>
It's only fair to share...Share on Google+Tweet about this on TwitterShare on Facebook
News

Posts you may like: