Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Position a div at the bottom of its container

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33814
    RyanJP
    Member

    Trying to find a way to do this without absolute positioning as I would like to be able to center the div horizontally as well and I want to keep it flexible

    #84563
    RyanJP
    Member

    well I figured it out so I guess I can answer my own question. I nested the div inside another one with 100% width and absolutely positioned at bottom:0

    then i just centered the text with text-align

    i love when things work out.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.