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 trialguarlonmirka
10,192 PointsCss Layout
I can see that Css layout can be used in different way (Float layout/Flexbox layout/ Grid Layout). Do I have to choose one of these layout or I have to use all of them at once. if not which one should I use?
1 Answer
Ronny Gudvangen
4,685 PointsIf new to CSS and HTML I think float is the way to go at this moment. Either if you use float or flexbox - or even tables, you kinda have to choose some general grid system for your site. This makes sure the flow is symetrical, and makes it easier to maintain you're site as it grows in content. The 960 grid system is a good starting point. Or you can use frameworks like Bootstrap and Foundation (not a good way to start though).
Either way, go with what you are comfortable with. When you evolve the need for more complex layouts will come by it self - when and if the situation requires it :).