Welcome to the Treehouse Community
Looking to learn something new?
Which type of page layout should we use for a serious website?
Assume that a company wants me to design the home page for their site. And let's say that their home page is complex (contain many columns and rows). In this case which type of page layout should I use? Flexbox? Floats? Grids? Any ideas?
David PoindexterCourses Plus Student 1,690 Points
Well, grids (like twitter bootstrap provides) use floats. And flexbox is not widely and fully supported, as you can see here
You may want to rephrase your question. It sounds like you're asking what CSS technique to use, but when you ask what type of page layout, some could understand that as the visual layout of a page (should you have a header, sidebar, how many columns, a hero unit, etc).
I am not an expert , but I guess that you should use the one you know how to work with. I could design a website using grids but I could get the same layout by using floats.
Richard Lewis5,101 Points
Many answers here, depends on the project but i suspect you may be over complicating things. Personally I use twitter bootstrap as it is very flexible, very customisable and lots of documentation.. Does the site need to be responsive? as you need to take that into account aswell (twitter bootstrap will also cover this)