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
Sandeep Krishnan
9,730 PointsAs a principle what should I focus on using in my Webpage - Flex box or floats or box element ?
Considering Flex is the new kid in town, should i ignore other forms of containers like floats etc. I am confused between the right containers for the right job
4 Answers
Christian Andersson
8,712 PointsI'd say that depends on the intended audience of your website/web app. If you're making geeky tech site, probably nobody will be using IE8 for instance, so you'd be safe going flexbox. However, if you're doing some site to be used in schools or from a library you'd probably be better off take the safe route.
Sandeep Krishnan
9,730 PointsExcellent ! Thank you Christian. I think I will stay will flex in that case - I guess, have a problem with learning too many ways of doing the same thing, LOL. Incidentally, while typing this I also got clarity on another topic which was plaguing my mind - RUby Vs Python. Now I now know I should learn Python because it believes in doing things just one way...:)
Jesus Mendoza
23,289 PointsYou could use modernizer to check the browser support and then have a css file for flexbox support and a css for no flexbox support
Aurelian Spodarec
10,801 PointsYou know, the support looks pretty good, and they should drop the support for IE10 and below, which means every school woudl need to update their browser, and since the current browsers are better, flexbox looks good.
So is there any way or soemthing that felxbox is going to be the 'main way' in a year or so? uh
Christian Andersson
8,712 PointsAurelian Spodarec "they should drop the support for IE10 and below, which means every school woudl need to update their browser" - yeah that's not gonna happen for a while. There are tons of grumpy 60 year olds with an electronics degree from 1973 or something that manage school computers and wouldn't ever upgrade the computers unless he has to.
Aurelian Spodarec
10,801 PointsChristian Andersson
8,712 PointsYeah I've seen that. It might motivate people to upgrade, but it doesn't really force them as it only means there won't be any more security updates - and some don't even do update at all. It's sad.
Aurelian Spodarec
10,801 PointsAh, I think I understand it. So we might use normal CSS for 10 years or so still?
Christian Andersson
8,712 PointsHah - yeah maybe :D
Aurelian Spodarec
10,801 PointsGood :D It would be sad if what i have just learned about the normal CSS would be dismissed (most of it) :D good that technology is waiting for me somewhat. Got more time to build my developing foundation xD
Sandeep Krishnan
9,730 PointsFlexi-box is God sent !