Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • eric zhou
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    eric zhou
    Front End Web Development Techdegree Student 381 Points

    Can you clarify what the instructor say: ".. everything except the margin area is consider the background layer"

    Posted August 31, 2020 11:45pm by eric zhou
    .a{fill-rule:evenodd;}techdegree
    eric zhou
    Front End Web Development Techdegree Student 381 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    1 Answer

  • Delicia Wharton
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Delicia Wharton
    UX Design Techdegree Student 11,098 Points

    background image will not show up even with correct code and closing the browser and the workspace and the CTRL R reset

    Posted September 13, 2019 4:59pm by Delicia Wharton
    .a{fill-rule:evenodd;}techdegree
    Delicia Wharton
    UX Design Techdegree Student 11,098 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    2 Answers

  • Alexandra McCardell
    Alexandra McCardell
    2,891 Points

    Mountain image never showed up in header for me...

    Posted June 25, 2019 8:48pm by Alexandra McCardell
    Alexandra McCardell
    2,891 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    5 Answers

  • Tianerad 999
    Tianerad 999
    4,063 Points

    Is it possible to tell the browser how many times to repeat?

    Posted May 9, 2019 2:54pm by Tianerad 999
    Tianerad 999
    4,063 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    4 Answers

  • Sean Smith
    PLUS
    Sean Smith
    Courses Plus Student 2,353 Points

    Background Header disappears when I add background-size or background-repeat.

    Posted March 6, 2018 4:22pm by Sean Smith
    Sean Smith
    Courses Plus Student 2,353 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    2 Answers

  • gene c
    gene c
    13,630 Points

    What to do if i want the mountains.jpg image to fit perfectly inside of the main header?

    Posted December 18, 2017 6:52am by gene c
    gene c
    13,630 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    2 Answers

  • manideep m
    manideep m
    1,964 Points

    mountains image does not appear

    Posted October 20, 2017 1:11am by manideep m
    manideep m
    1,964 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    2 Answers

  • Wojciech Gurzynski
    Wojciech Gurzynski
    2,716 Points

    Backgorund-repat: repeat-x;

    Posted August 23, 2017 9:34pm by Wojciech Gurzynski
    Wojciech Gurzynski
    2,716 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    1 Answer

  • Ronnel Jones
    Ronnel Jones
    5,043 Points

    I am trying to put the mountain at my header background and it is not working. I have the correct coding in place

    Posted July 22, 2017 8:45pm by Ronnel Jones
    Ronnel Jones
    5,043 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    2 Answers

  • john knight
    PLUS
    john knight
    Courses Plus Student 9,155 Points

    I need help

    Posted April 21, 2017 5:50pm by john knight
    john knight
    Courses Plus Student 9,155 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    1 Answer

  • Kudakwashe Kondenga
    Kudakwashe Kondenga
    1,732 Points

    How do I align borders

    Posted March 11, 2017 7:37am by Kudakwashe Kondenga
    Kudakwashe Kondenga
    1,732 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    0 Answers

  • Stephen Blair
    PLUS
    Stephen Blair
    Courses Plus Student 3,248 Points

    This entire stream is completely confusing!

    Posted March 4, 2017 6:11pm by Stephen Blair
    Stephen Blair
    Courses Plus Student 3,248 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    2 Answers

  • Katsumi Suno
    Katsumi Suno
    4,194 Points

    Do quotes matter?

    Posted January 7, 2017 1:23pm by Katsumi Suno
    Katsumi Suno
    4,194 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    1 Answer

  • Manish Giri
    Manish Giri
    16,267 Points

    Meaning of "background area" of element?

    Posted December 5, 2016 5:59am by Manish Giri
    Manish Giri
    16,267 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    1 Answer

  • Mohamed Abozied
    Mohamed Abozied
    919 Points

    Page preview differnce

    Posted September 17, 2016 6:12pm by Mohamed Abozied
    Mohamed Abozied
    919 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    0 Answers

  • Heriberto Nieves
    Heriberto Nieves
    2,466 Points

    background image value question

    Posted February 9, 2016 10:23pm by Heriberto Nieves
    Heriberto Nieves
    2,466 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    2 Answers

  • Anthony Branze
    Anthony Branze
    4,887 Points

    background-repeat: no-repeat;

    Posted October 27, 2015 1:47am by Anthony Branze
    Anthony Branze
    4,887 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    6 Answers

  • Christopher Mlalazi
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Christopher Mlalazi
    Front End Web Development Techdegree Graduate 17,305 Points

    Where Should I store Images For Website?

    Posted September 29, 2015 10:54pm by Christopher Mlalazi
    .a{fill-rule:evenodd;}techdegree seal-36
    Christopher Mlalazi
    Front End Web Development Techdegree Graduate 17,305 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    4 Answers

  • jasonchan4
    jasonchan4
    5,103 Points

    What's the advantage of adding a background image in CSS as opposed to HTML?

    Posted August 10, 2015 2:45am by jasonchan4
    jasonchan4
    5,103 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    1 Answer

  • melissa brown
    melissa brown
    4,670 Points

    what if i wanted to click on the arrow and scroll down to the beginning of the first div?

    Posted June 7, 2015 9:48am by melissa brown
    melissa brown
    4,670 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    3 Answers

  • Alex Pacheco
    Alex Pacheco
    8,327 Points

    ('../') im confused how this works. he says "this tells the browser to move one directory backwards"

    Posted May 9, 2015 1:00am by Alex Pacheco
    Alex Pacheco
    8,327 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    3 Answers

  • Michael Lara
    Michael Lara
    1,454 Points

    Mountain image does not appear

    Posted April 23, 2015 10:39pm by Michael Lara
    Michael Lara
    1,454 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    6 Answers

  • Gregory Blythe
    Gregory Blythe
    2,504 Points

    Does the order in which you put attributes matter?

    Posted March 3, 2015 2:35am by Gregory Blythe
    Gregory Blythe
    2,504 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    2 Answers

  • mrx3
    mrx3
    8,742 Points

    Where do I need to add the background back up color in my css?

    Posted February 16, 2015 8:57pm by mrx3
    mrx3
    8,742 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    1 Answer

  • Max Kusnadi
    Max Kusnadi
    4,368 Points

    Background image opacity?

    Posted December 31, 2014 2:15pm by Max Kusnadi
    Max Kusnadi
    4,368 Points
    • CSS
    • CSS Basics (2014)
    • Basic Layout
    • Backgrounds: Color and Images

    1 Answer

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord