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

Help

Elements that use percentages are relative to their _______ container.

idk why i can't find this

in which paragraph is this question? usually the answer are all on the video but try to put "default", or "own"

In fluid design your units are relative, so that each element can be relative to it parent.

For example a nav would be the parent of the links inside of the list tag.

Thanks Guys!

2 Answers

I believe the answer should be "parent." For example, consider you have a smaller div placed inside a larger div. If you give the smaller div a height & width of 50% it will scale in relation to the larger div, because the larger div is its parent/container element.

Thank you! That worked perfect and thanks for the explanation as well!

the answer is parent.