Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Samuel Kleos
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Samuel Kleos
    Front End Web Development Techdegree Student 13,728 Points

    Why does the button stretch past the content width without specifying any width properties?

    Posted November 15, 2022 2:11am by Samuel Kleos
    .a{fill-rule:evenodd;}techdegree
    Samuel Kleos
    Front End Web Development Techdegree Student 13,728 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • Phoebe Tyson
    Phoebe Tyson
    7,504 Points

    Columns display on top of each other instead of next to each other?

    Posted January 5, 2022 5:03pm by Phoebe Tyson
    Phoebe Tyson
    7,504 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    2 Answers

  • Preeti Thakur
    Preeti Thakur
    17,158 Points

    Couldn't we just use for the buttons display:inline-flex and flex-direction:row?

    Posted November 20, 2021 10:53pm by Preeti Thakur
    Preeti Thakur
    17,158 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • Jasper Kop
    Jasper Kop
    10,423 Points

    why is the auto top margin moving the button down?

    Posted May 27, 2020 11:13am by Jasper Kop
    Jasper Kop
    10,423 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    2 Answers

  • Alexei Thomas
    Alexei Thomas
    2,492 Points

    Why doesn't justify-content: flex-end work on the button?

    Posted August 10, 2019 11:12pm by Alexei Thomas
    Alexei Thomas
    2,492 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • Truong Minh Nguyen
    Truong Minh Nguyen
    12,587 Points

    Aligning button with align-self

    Posted February 5, 2019 8:09pm by Truong Minh Nguyen
    Truong Minh Nguyen
    12,587 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • Leo Marco Corpuz
    Leo Marco Corpuz
    18,975 Points

    Align-content

    Posted July 25, 2018 6:35am by Leo Marco Corpuz
    Leo Marco Corpuz
    18,975 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • yoav green
    yoav green
    8,611 Points

    why did the self-align moved on the y axis and not the x axis?

    Posted July 12, 2018 11:11pm by yoav green
    yoav green
    8,611 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    2 Answers

  • Ramesh Kunwar
    PLUS
    Ramesh Kunwar
    Courses Plus Student 4,066 Points

    flex and inline-flex

    Posted May 24, 2018 1:42pm by Ramesh Kunwar
    Ramesh Kunwar
    Courses Plus Student 4,066 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • anamayfield
    anamayfield
    4,080 Points

    How did you make the entire button clickable?

    Posted April 12, 2018 7:18pm by anamayfield
    anamayfield
    4,080 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    2 Answers

  • Jong Kim
    Jong Kim
    6,145 Points

    how come margin-top: auto; makes item to the bottom? i just don't understand...

    Posted April 5, 2018 5:58am by Jong Kim
    Jong Kim
    6,145 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    2 Answers

  • Amanda Richwalski
    Amanda Richwalski
    3,956 Points

    Footer

    Posted March 27, 2018 2:31pm by Amanda Richwalski
    Amanda Richwalski
    3,956 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • gene c
    gene c
    13,630 Points

    Why are the columns side-by-side even though I wrote flex-direction: column?

    Posted December 29, 2017 8:47am by gene c
    gene c
    13,630 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • gene c
    gene c
    13,630 Points

    Why does margin-top: auto place the item at the bottom of the container?

    Posted December 29, 2017 8:25am by gene c
    gene c
    13,630 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • Charmine Amplayo
    Charmine Amplayo
    6,668 Points

    Why Justify-content: flex-end doesn't work for putting the button at the bottom?

    Posted December 11, 2017 3:28am by Charmine Amplayo
    Charmine Amplayo
    6,668 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • Learning Coding
    Learning Coding
    7,134 Points

    align button to the bottom

    Posted December 2, 2016 3:38pm by Learning Coding
    Learning Coding
    7,134 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    3 Answers

  • epmbqxxkpx
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    epmbqxxkpx
    Front End Web Development Techdegree Student 6,193 Points

    Couldn't you have also done this with align-content: space-between?

    Posted September 28, 2016 1:39am by epmbqxxkpx
    .a{fill-rule:evenodd;}techdegree
    epmbqxxkpx
    Front End Web Development Techdegree Student 6,193 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    2 Answers

  • Seth Duncan
    Seth Duncan
    11,844 Points

    align-self: bottom; not viable here?

    Posted September 7, 2016 3:30pm by Seth Duncan
    Seth Duncan
    11,844 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    3 Answers

  • Chigozie Ofodike
    Chigozie Ofodike
    11,197 Points

    Help with flexbox

    Posted July 28, 2016 7:29pm by Chigozie Ofodike
    Chigozie Ofodike
    11,197 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • Marcus Barnett
    Marcus Barnett
    5,687 Points

    Align-items, -self vs Justify-content

    Posted April 17, 2016 7:32pm by Marcus Barnett
    Marcus Barnett
    5,687 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • Unsubscribed User
    Unsubscribed User
    4,918 Points

    Auto value

    Posted February 18, 2016 11:19am by Unsubscribed User
    Unsubscribed User
    4,918 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    4 Answers

  • Dawson Beggs
    Dawson Beggs
    274 Points

    Flexbox background images & text overlay

    Posted February 12, 2016 10:40pm by Dawson Beggs
    Dawson Beggs
    274 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    2 Answers

  • Mike Constantino
    Mike Constantino
    12,034 Points

    Difference between align-self: flex-start and margin-right: auto in this situation?

    Posted January 24, 2016 2:10am by Mike Constantino
    Mike Constantino
    12,034 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    1 Answer

  • XIN FANG ZHONG
    XIN FANG ZHONG
    10,149 Points

    Aligning Items to the Bottom of a Column in Two Column

    Posted December 13, 2015 6:58am by XIN FANG ZHONG
    XIN FANG ZHONG
    10,149 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Aligning Items to the Bottom of a Column

    0 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord