I have seen people apply the CSS property zoom: 1; on HTML elements.
Why do they do this, and what bug does it fix?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This provides an internal property known as
hasLayoutin Internet Explorer versions 7 and lower.The definitive article on the subject is here: http://www.satzansatz.de/cssd/onhavinglayout.html
For an example of a specific bug that
zoom: 1(and sohasLayout) helps to fix:Inline block doesn't work in internet explorer 7, 6