• Home
  • Free Trial
  • Sign In
  • Techdegree
  • Tracks
  • Library
  • Community
  • Support
    • 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
  • Trinity Shelly
    Trinity Shelly
    2,390 Points

    Let's style parts of a web page using padding, borders, and margins. First, target the header element. Set the top paddi

    Posted January 16, 2021 5:21pm by Trinity Shelly
    Trinity Shelly
    2,390 Points
    • CSS
    • CSS Layout
    • The CSS Box Model
    • Padding, Borders, and Margins

    1 Answer

  • Trinity Shelly
    Trinity Shelly
    2,390 Points

    Let's style parts of a web page using padding, borders, and margins. First, target the header element. Set the top paddi

    Posted January 16, 2021 5:21pm by Trinity Shelly
    Trinity Shelly
    2,390 Points
    • CSS
    • CSS Layout
    • The CSS Box Model
    • Padding, Borders, and Margins

    1 Answer

  • Dena Harris
    Dena Harris
    2,243 Points

    Finally, give the element with the class .featured a dotted, lightgrey top border that's 2px wide.

    Posted January 13, 2021 10:58pm by Dena Harris
    Dena Harris
    2,243 Points
    • CSS
    • CSS Layout
    • The CSS Box Model
    • Padding, Borders, and Margins

    1 Answer

  • Dena Harris
    Dena Harris
    2,243 Points

    Challenge Task 4 of 5 Let's separate the footer element from the content above it. Target the footer element and apply a

    Posted January 12, 2021 11:45pm by Dena Harris
    Dena Harris
    2,243 Points
    • CSS
    • CSS Layout
    • The CSS Box Model
    • Padding, Borders, and Margins

    1 Answer

  • Kandace Smith
    Kandace Smith
    2,557 Points

    where did i go wrong? it wont let me pass the first part by making the top padding 20px.

    Posted January 12, 2021 8:11pm by Kandace Smith
    Kandace Smith
    2,557 Points
    • CSS
    • CSS Layout
    • The CSS Box Model
    • Padding, Borders, and Margins

    2 Answers

  • Ulyssa Sneed
    Ulyssa Sneed
    3,182 Points

    im confused

    Posted January 11, 2021 4:42am by Ulyssa Sneed
    Ulyssa Sneed
    3,182 Points
    • CSS
    • CSS Layout
    • The CSS Box Model
    • Padding, Borders, and Margins

    1 Answer

  • Larissa Ragland
    Larissa Ragland
    3,309 Points

    having a problem figuring this one out. Help. header { padding-top: 20px; padding-bottom: 25px; border-width:

    Posted January 11, 2021 1:06am by Larissa Ragland
    Larissa Ragland
    3,309 Points
    • CSS
    • CSS Layout
    • The CSS Box Model
    • Padding, Borders, and Margins

    1 Answer

  • Dena Harris
    Dena Harris
    2,243 Points

    Let's separate the footer element from the content above it. Target the footer element and apply a top margin of 50 px

    Posted January 10, 2021 10:28pm by Dena Harris
    Dena Harris
    2,243 Points
    • CSS
    • CSS Layout
    • The CSS Box Model
    • Padding, Borders, and Margins

    1 Answer

  • Dena Harris
    Dena Harris
    2,243 Points

    Target the section element with the class intro. Set the padding on all 4 sides to 1rem.

    Posted January 10, 2021 3:49am by Dena Harris
    Dena Harris
    2,243 Points
    • CSS
    • CSS Layout
    • The CSS Box Model
    • Padding, Borders, and Margins

    1 Answer

  • Mary Mohlenkamp
    Mary Mohlenkamp
    8,071 Points

    Trying to give the element with the class .featured a dotted, lightgrey top border that's 2px wide.

    Posted January 9, 2021 3:55am by Mary Mohlenkamp
    Mary Mohlenkamp
    8,071 Points
    • CSS
    • CSS Layout
    • The CSS Box Model
    • Padding, Borders, and Margins

    1 Answer

  • Hannah Gray
    Hannah Gray
    2,318 Points

    First, target the header element. Set the top padding to 20 pixels and the bottom padding to 25 pixels

    Posted January 9, 2021 2:43am by Hannah Gray
    Hannah Gray
    2,318 Points
    • CSS
    • CSS Layout
    • The CSS Box Model
    • Padding, Borders, and Margins

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Treehouse Logo
Our mission is to bring affordable technology education to people everywhere in order to help them achieve their dreams and change the world.
Company
Careers
Contact
Library
Tracks
Community
Stories
Perks
Affiliate Program
Treehouse for Libraries
Topics
HTML
CSS
Design
JavaScript
Ruby
View all 24 Topics
Tracks
Front End Web Development
Full Stack JavaScript
Beginning Python
UX: Interaction Design
Digital Literacy
View all 41 Tracks
  • Twitter
  • YouTube
  • FaceBook
  • LinkedIn
  • Instagram
  • About Treehouse
  • Blog
  • Shop
  • Privacy Policy
  • Terms & Conditions
  • © 2021 Treehouse Island, Inc.