Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Basics (2014) Basic Layout Styling the "Wildlife" div with Background Properties

Anna Takang Nchongarrey-Oben
Anna Takang Nchongarrey-Oben
7,365 Points

give .wildlife the property and value that forces any padding and border widths into its total width and height.

I do not understand the question

This same issue came up before, have a look at this post it will clear things up for you :)

3 Answers

You need to use the box-sizing property.

.wildlife {
  box-sizing: border-box;
}

Thanks this answered helped

Try this:

            box-sizing:border-box;
            ```

Hope this helped!
-Shaun Moore

You may want to try the following: *{box-sizing: border-box;} Usually up at the top of your style sheet