Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Marco Angelo
Courses Plus Student 2,003 Pointshow does Guil know the values of the percentages?
Where is he getting the values for percentages?
1 Answer

Andrew Dunn
14,718 PointsI did a quick Google search because I keep forgetting the answer to this (my brain doesn't like absolute percentages with decimal points at the end :P ) - the first result, go figure, was an old Treehouse video featuring the lovely Allison Grayce: http://teamtreehouse.com/library/build-a-responsive-website/creating-a-fluid-foundation/converting-pixels-to-percentages-2
Basically, it's the target divided by context equals the result...
So if your column is optimally 300 pixels wide (for whatever reason) and its container is 1000 pixels wide, your column would have a width of 30%.
Hope this helps!
Marco Angelo
Courses Plus Student 2,003 PointsMarco Angelo
Courses Plus Student 2,003 Pointscool thanks. that helps