Ie6,ie7 set the Body{overflow:hidden;} Invalid bug
Recently done Project Discovery set Body{overflow:hidden under IE7;} After the vertical scroll bar will appear, so check the Internet, here to record:
Set Body{overflow:hidden;} : IE6 IE7 does not take effect. IE6 horizontal longitudinal scroll bar are in, IE7 vertical scroll bar is still in;
Analysis Reason:
Chrome, Firefox will initially pay the value to html{overflow:visible;}
IE6 initial pay value html{overflow-x:auto;overflow-y:scroll;}
IE7 initial pay value html{overflow-x:visible;overflow-y:scroll;}
Only the DOM root node (that is, the HTML root) is set html{overflow:visible;} , the browser applies the overflow value in the BODY element to the view area.
As an example,
Set Body{overflow:hidden}, there will also be scroll bar, but this scroll bar is not body, is HTML, only you set html{overflow:visible;} body{overflow Value} can be passed to html{} to the. In this way, the value of HTML becomes {Overflow:hidden},ok has no scroll bar. It is clear that this is not a bug, but rather a problem that arises from different browser initial values.
So the above problem is to solve the problem that exists under IE6 and IE7 by setting the value of HTML overflow.
has been verified, this method can be!!!!!!
Set Body{overflow:hidden on Ie6,ie7;} Invalid bug