Get a free trial // Grow your CSS skills // Land your dream job

Align to bottom of a container?

  • # May 19, 2013 at 4:36 pm

    I’m trying to align my a href links (which are in #nav) and I’m trying to align them to the bottom of .header all at once. I tried putting

    bottom: 0px;

    In #nav but all that does is align them to the very bottom of the page. What could I be doing wrong?

    # May 19, 2013 at 5:39 pm

    @Zevoxa, put `position: relative` on `.header`

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed