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
  • Erick Martinez
    Erick Martinez
    2,894 Points

    What type of elements take up the full width available based on the width of their parent element?

    Posted May 3, 2018 9:48am by Erick Martinez
    Erick Martinez
    2,894 Points
    • CSS
    • CSS Basics (2014)
    • The Box Model
    • The Box Model Review

    2 Answers

  • Adrian Yeow
    Adrian Yeow
    13,866 Points

    Margin: auto

    Posted November 28, 2016 5:09am by Adrian Yeow
    Adrian Yeow
    13,866 Points
    • CSS
    • CSS Basics (2014)
    • The Box Model
    • The Box Model Review

    2 Answers

  • Andrew McKay
    Andrew McKay
    940 Points

    give me the answers

    Posted September 27, 2016 1:22pm by Andrew McKay
    Andrew McKay
    940 Points
    • CSS
    • CSS Basics (2014)
    • The Box Model
    • The Box Model Review

    3 Answers

  • MUZ140019 Nqobile Nyathi
    MUZ140019 Nqobile Nyathi
    1,074 Points

    the --- area creates spaces inside the box while the ---- area creates space outside and around the box

    Posted August 26, 2015 12:40pm by MUZ140019 Nqobile Nyathi
    MUZ140019 Nqobile Nyathi
    1,074 Points
    • CSS
    • CSS Basics (2014)
    • The Box Model
    • The Box Model Review

    1 Answer

  • MUZ140019 Nqobile Nyathi
    MUZ140019 Nqobile Nyathi
    1,074 Points

    write the declaration that will turn off the display .featured.img

    Posted August 26, 2015 12:20pm by MUZ140019 Nqobile Nyathi
    MUZ140019 Nqobile Nyathi
    1,074 Points
    • CSS
    • CSS Basics (2014)
    • The Box Model
    • The Box Model Review

    1 Answer

  • Shirantha Mendis
    Shirantha Mendis
    1,228 Points

    what is the answer for this ?When we use the margin value , the browser automatically calculates the margins for

    Posted July 27, 2015 3:41am by Shirantha Mendis
    Shirantha Mendis
    1,228 Points
    • CSS
    • CSS Basics (2014)
    • The Box Model
    • The Box Model Review

    2 Answers

  • adrianboros
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    adrianboros
    Java Web Development Techdegree Student 27,786 Points

    The area creates space inside the box, while the area creates space outside and around the box.

    Posted July 14, 2015 9:31am by adrianboros
    .a{fill-rule:evenodd;}techdegree
    adrianboros
    Java Web Development Techdegree Student 27,786 Points
    • CSS
    • CSS Basics (2014)
    • The Box Model
    • The Box Model Review

    1 Answer

  • MUZ140735 Prosper Poshayi
    MUZ140735 Prosper Poshayi
    4,835 Points

    whats the answer

    Posted June 15, 2015 1:18pm by MUZ140735 Prosper Poshayi
    MUZ140735 Prosper Poshayi
    4,835 Points
    • CSS
    • CSS Basics (2014)
    • The Box Model
    • The Box Model Review

    5 Answers

  • Cosmin Iuga
    Cosmin Iuga
    2,352 Points

    Write the declaration that will turn off the display for .featured-img: .featured-img {

    Posted December 24, 2014 6:15am by Cosmin Iuga
    Cosmin Iuga
    2,352 Points
    • CSS
    • CSS Basics (2014)
    • The Box Model
    • The Box Model Review

    2 Answers

  • MinYoung An
    MinYoung An
    7,869 Points

    "The same order of values in the padding property applies to the margin shorthand property."

    Posted December 18, 2014 4:48pm by MinYoung An
    MinYoung An
    7,869 Points
    • CSS
    • CSS Basics (2014)
    • The Box Model
    • The Box Model Review

    2 Answers

  • david ballack
    PLUS
    david ballack
    Courses Plus Student 623 Points

    Which type of elements only take up as much width as they need?

    Posted December 16, 2014 3:47pm by david ballack
    david ballack
    Courses Plus Student 623 Points
    • CSS
    • CSS Basics (2014)
    • The Box Model
    • The Box Model Review

    9 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