I have seen people apply CSS zoom: 1; for HTML elements.
zoom: 1;
Why are they doing this, and what error is being fixed?
This provides an internal property known as hasLayout in Internet Explorer version 7 and below.
hasLayout
The final article on this topic is here: http://www.satzansatz.de/cssd/onhavinglayout.html
A lot of the rendering of Internet Explorer inconsistencies can be resolved by providing a layout element. In this article, the authors focus on some aspects of this complex issue.βLayoutβ is a proprietary IE / Win concept that defines how elements draw and link their contents, interact with and are connected to other elements, and respond and transmit application / user events.
A lot of the rendering of Internet Explorer inconsistencies can be resolved by providing a layout element. In this article, the authors focus on some aspects of this complex issue.
βLayoutβ is a proprietary IE / Win concept that defines how elements draw and link their contents, interact with and are connected to other elements, and respond and transmit application / user events.
For an example of a specific error, which zoom: 1 (and therefore hasLayout ) helps to fix:
zoom: 1
The built-in block does not work in Internet Explorer 7, 6