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!
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
Filippo D'Arrigo5,285 Points
Is always true that the use of floated elements for layout is to be avoided if we don't need to support IE9 or lower?
Codin - Codesmite8,600 Points
I wouldn't say avoided, float still has its uses in specific situations.
But I would agree that modern display/positioning properties in HTML5 and CSS3 have pretty much left floated elements redundant.
I stopped supporting anything below IE9 in my own personal work a long long time ago so it hasn't really ever been an issue for me in my layouts.
I will get the odd job occasionaly normaly for some kind of internal website for a company that requires float layouts because their internal bespoke applications require IE6 to work etc.