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 Foundations Text, Fonts, and Lists More Text Properties

Sahan Balasuriya
Sahan Balasuriya
10,115 Points

how were the containers made for the 2 paragraph elements?

What was used to make the the two containers for the paragraph elements ?

7 Answers

Hi Sahan,

There aren't any div's used in this video. If you are talking about the 2 white boxes then that's the styling that is applied to the paragraph elements <p> The paragraphs do not have a container.

You can see the html that is used at 3:25 in the video.

This is the styling applied to the paragraphs to make the white boxes.

p {
    width: 17.5em;
    padding: 1em;
    background: #FFF;
    border: 1px solid #cbcbcb;
}

Do you mean the column-count property?

http://www.w3schools.com/cssref/css3_pr_column-count.asp

Sahan Balasuriya
Sahan Balasuriya
10,115 Points

I'm talking about the the 2 box that were containing the the paragraphs I think they are the divorce elements

Oh do you mean <div>ā€™s?

Sahan Balasuriya
Sahan Balasuriya
10,115 Points

Yeh Thanks that's what it was

You are welcome!

Thanks for correcting me Jason!