• Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • 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 April 6, 2020 3:54am 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

  • Amandeep Pasricha
    Amandeep Pasricha
    14,932 Points

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

    Posted May 13, 2019 7:22pm by Amandeep Pasricha
    Amandeep Pasricha
    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 January 17, 2019 6:46pm 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
    Ashim Poudyal
    Full Stack JavaScript Techdegree Student 5,824 Points

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

    Posted January 15, 2019 4:50pm by Ashim Poudyal
    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 July 23, 2018 2:27pm 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 April 4, 2018 5:06pm 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 March 21, 2018 11:11am 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 January 21, 2018 9:32pm 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 November 30, 2017 10:28am 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 May 18, 2017 4:21pm 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 April 4, 2017 3:00pm 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 March 31, 2017 9:11pm 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 October 20, 2016 2:40pm 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 April 27, 2016 5:56am 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 March 17, 2016 3:17am 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 February 24, 2016 2:18pm 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 February 10, 2016 11:18am 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 December 23, 2015 1:33am 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 November 25, 2015 2:11pm 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 November 20, 2015 6:10pm 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
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.