Skip to content

Instantly share code, notes, and snippets.

@jgambill
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgambill/11010490 to your computer and use it in GitHub Desktop.
Save jgambill/11010490 to your computer and use it in GitHub Desktop.
align content of a div to the bottom of the div using 'position' #css http://stackoverflow.com/questions/585945/how-to-align-content-of-a-div-to-the-bottom-with-css
<style type="text/css">
#header { position: relative; }
#header-content { position: absolute; bottom: 0; left: 0; }
</style>
<div id="header">
<h1>Title</h1>
<div id="header-content">Some content</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment