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

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • 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.

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.