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 trialJoshua Burdine
311 PointsMax-Width
Why use 940px in Max-width? Why not 970px or 2000px? It seems arbitrary.
6 Answers
Dustin Matlock
33,856 PointsI think you might appreciate this article by ZURB on responsive design.
Jovanny Elias
16,204 PointsTypical it depends on your project and on the audience you are trying to target. For the most part it has to do with what the average consumers screen resolution is. 960px is the standard of the web. Take a look at this blog post explaining why it's so. In many cases you also have to look at several factors like if you are using a frame work. There are plenty of frameworks that already include a grid system to help you design and layout everything much faster and easier. And these frameworks have a max width pre-set
Joshua Burdine
311 PointsThat makes a lot of sense. Thank you. But why not make pages 100% fluid so we can than make all browser resolutions happy. Is that even possible, how would that be done?
Dustin Matlock
33,856 PointsI think because it's what Bootstrap used in an earlier version, and it also has to do with the golden ratio, math, etc. RWD has came a long way and screen resolutions are also getting larger.
Joshua Burdine
311 PointsThank you so much. i guess what you are saying is that its alot harder to format a site to be completley fluid (tusing golden ration (which still are used within static positioning accroding to one of your articles) that it is more effective to aim for the lower resolution scrren so that at least everyone can see theentirety of your work rather than it being miss positioned or cut off an a smaller browser resoltuion.
Joshua Burdine
311 PointsThank you so much. i guess what you are saying is that its alot harder to format a site to be completley fluid (tusing golden ration (which still are used within static positioning accroding to one of your articles) that it is more effective to aim for the lower resolution scrren so that at least everyone can see theentirety of your work rather than it being miss positioned or cut off an a smaller browser resoltuion. And thanks for bringing up bootstrap I've never used a framework before (Im not familiar with them) but this looks like the answer to my responsive issues (for most browsers that is).