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

Norman Dubois
Courses Plus Student 1,767 PointsWhats the right way to layout my page
Hi all,
i have a question. Is there any Design Pattern for CSS how i should layout my page? Should i work with floats or with positioning in CSS? Whats the better way to handle this?
Thanks :)

Mark Josephsen
8,803 PointsI'll check that out for sure.
2 Answers

Mark Josephsen
8,803 PointsFloats are always better than absolute positioning. This makes your page dynamic. If you use absolute positioning, users with different screen sizes will have a poor experience on your site.

Norman Dubois
Courses Plus Student 1,767 Pointsok, thank you! :)
Andrew Stelmach
12,583 PointsAndrew Stelmach
12,583 PointsThere's no simple answer but, for general layout, floats and/or blocks and inline-blocks are usually the order of the day.
What you really need to do my friend is to go through Treehouse's excellent 'CSS Layout Techniques' course, by Guil. Covers everything you need to know to get started, as well as common bugs.