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

🤑 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

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

  • 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
    • 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
  • 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
    • Showing results for:
    • CSS
    • CSS Basics (2014)
    • The Box Model
    • The Box Model Review
    • Close
  • 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 on May 3, 2018 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 on Nov 28, 2016 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 on Sep 27, 2016 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 on Aug 26, 2015 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 on Aug 26, 2015 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 on Jul 27, 2015 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 on Jul 14, 2015 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 on Jun 15, 2015 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 on Dec 24, 2014 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 on Dec 18, 2014 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 on Dec 16, 2014 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.