✨ 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 Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper
    • Close
  • Alexander Perry
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Alexander Perry
    Front End Web Development Techdegree Student 11,395 Points

    Why do we use a div tag to wrap instead of the main tag, when the main tag seems to be better semantic code?

    Posted on Apr 6, 2020 by Alexander Perry
    .a{fill-rule:evenodd;}techdegree
    Alexander Perry
    Front End Web Development Techdegree Student 11,395 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    1 Answer

  • vamosrope14
    vamosrope14
    14,932 Points

    Why is it not valid to place elements outside when <body> element it is used as the wrapper?

    Posted on May 13, 2019 by vamosrope14
    vamosrope14
    14,932 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    1 Answer

  • Jace Ganshirt
    Jace Ganshirt
    8,661 Points

    Why am I not seeing the initial changes within style.css when using visual studio code with the zip download?

    Posted on Jan 17, 2019 by Jace Ganshirt
    Jace Ganshirt
    8,661 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    1 Answer

  • Ashim Poudyal
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Ashim Poudyal
    Full Stack JavaScript Techdegree Student 5,824 Points

    I still dont understand why use wrapper. can someone clarify please!

    Posted on Jan 15, 2019 by Ashim Poudyal
    .a{fill-rule:evenodd;}techdegree
    Ashim Poudyal
    Full Stack JavaScript Techdegree Student 5,824 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    3 Answers

  • mk37
    mk37
    10,271 Points

    what is the recommended layout wrapper width should i use?

    Posted on Jul 23, 2018 by mk37
    mk37
    10,271 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    1 Answer

  • Lisa Weil
    Lisa Weil
    4,919 Points

    Keyboard shortcut to move selected text over one space?

    Posted on Apr 4, 2018 by Lisa Weil
    Lisa Weil
    4,919 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    0 Answers

  • babasariffodeen
    babasariffodeen
    6,475 Points

    Applying background to body instead of html?

    Posted on Mar 21, 2018 by babasariffodeen
    babasariffodeen
    6,475 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    2 Answers

  • Philip Kroupoderov
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Philip Kroupoderov
    Front End Web Development Techdegree Graduate 21,641 Points

    Why is the body background color being applied to the entire web page (in my code)??

    Posted on Jan 21, 2018 by Philip Kroupoderov
    .a{fill-rule:evenodd;}techdegree seal-36
    Philip Kroupoderov
    Front End Web Development Techdegree Graduate 21,641 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    3 Answers

  • Stephanie Shaw
    Stephanie Shaw
    3,373 Points

    How to remove link underlines in normalize.css?

    Posted on Nov 30, 2017 by Stephanie Shaw
    Stephanie Shaw
    3,373 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    2 Answers

  • Masha Blair
    Masha Blair
    13,005 Points

    Hello, I need to know how recent is the class "CSS Layouts Basics"? When was it created? Is it still current info?

    Posted on May 18, 2017 by Masha Blair
    Masha Blair
    13,005 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    3 Answers

  • krishna aryal
    krishna aryal
    6,897 Points

    why div is flowing in console

    Posted on Apr 4, 2017 by krishna aryal
    krishna aryal
    6,897 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    9 Answers

  • Robert Homan
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Robert Homan
    Front End Web Development Techdegree Student 9,437 Points

    ID vs. Class for the wrapper?

    Posted on Mar 31, 2017 by Robert Homan
    .a{fill-rule:evenodd;}techdegree
    Robert Homan
    Front End Web Development Techdegree Student 9,437 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    1 Answer

  • Hayden Bradfield
    Hayden Bradfield
    1,797 Points

    Why are there margins even though I set margin to 0?

    Posted on Oct 20, 2016 by Hayden Bradfield
    Hayden Bradfield
    1,797 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    3 Answers

  • brandonlind2
    brandonlind2
    7,823 Points

    I don't understand the reason for having a layout wrapper

    Posted on Apr 27, 2016 by brandonlind2
    brandonlind2
    7,823 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    4 Answers

  • WANG YONGXIN
    WANG YONGXIN
    1,618 Points

    why I should add backgroud-color style to html element when the body element is centered?

    Posted on Mar 17, 2016 by WANG YONGXIN
    WANG YONGXIN
    1,618 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    1 Answer

  • Travis Johnson
    Travis Johnson
    4,990 Points

    Content will not center after creating "wrapper" rule.

    Posted on Feb 24, 2016 by Travis Johnson
    Travis Johnson
    4,990 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    8 Answers

  • Jacob Brech
    Jacob Brech
    7,224 Points

    Background-color and image, little confused..

    Posted on Feb 10, 2016 by Jacob Brech
    Jacob Brech
    7,224 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    2 Answers

  • Julian Betancourt
    Julian Betancourt
    11,466 Points

    Using One Wrapper vs several wrappers

    Posted on Dec 23, 2015 by Julian Betancourt
    Julian Betancourt
    11,466 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    1 Answer

  • Vamsi Pavan Mahesh Gunturu
    Vamsi Pavan Mahesh Gunturu
    4,541 Points

    what if I use a body

    Posted on Nov 25, 2015 by Vamsi Pavan Mahesh Gunturu
    Vamsi Pavan Mahesh Gunturu
    4,541 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    1 Answer

  • Kenandrae Wheatt
    Kenandrae Wheatt
    3,944 Points

    body wrapper doesn't work in chrome

    Posted on Nov 20, 2015 by Kenandrae Wheatt
    Kenandrae Wheatt
    3,944 Points
    • CSS
    • CSS Layout Basics
    • Getting Started with CSS Layout
    • Creating a Layout Wrapper

    3 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.