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 Layout Basics Page Layout with the Float Property Footer Layout with Floats

What am I suppose to do on task 4?

I dont get what I need to do.... on task 4: select .copyright and apply the PROPERTY and VALUE that clears both the left and right float....

3 Answers

Steven Parker
Steven Parker
229,787 Points

After completing the previous tasks, I'm surprised this one stumped you.

The property and value that clears both floats was already given as part of the clearfix class, which you applied to the footer in the previous task. You just need to copy it to a selector for the copyright class. The property name is clear and the value is both. So the CSS would be:

.copyright { clear: both; }
Konrad Pilch
Konrad Pilch
2,435 Points

I'd assume this answer helped the most.

Konrad Pilch
Konrad Pilch
2,435 Points

Is it

.copyright{
     clear:both;
}

?

Thanks guys :D I was confused by the wording i guess.