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 Unused CSS Stages Media Queries Adaptive Layouts with Media Queries

How did he calculate the width for main column with the percentage formula..980 is content so he must use 646.3829.. to

646.3829../980 = .65957446808511 x 100 , But how do we actually decide on the number 646.3829 as the width in px for a responsive column?

2 Answers

Hugo Paz
Hugo Paz
15,622 Points

Content is 980px (100%): You want 2 columns, one 66% width and the other 33% width. So you need 66% of 980 which is 646.4 approx.

Oh ok so only 2 columns..thanks!