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
What is the property " *zoom = 1; " ?
Chris Shaw26,676 Points
A while ago when IE7 was still a browser we needed to support mainly for corporate clients (and a browser I still have to build for at work), it caused a list of list one of which is the somewhat known hasLayout bug that plagued our good code and turned it into an horrible mess in the screen.
One hack a smarter developer came up with was to use
zoom which magically redraws the element while containing floats that otherwise broke out layouts.
Now days unless you're supporting IE7 you need not worry about this as the modern day clearfix works without issue in IE8+.
Hope that helps.