IE8 horizontal scrollbar problem

后端 未结 4 1759
不知归路
不知归路 2021-01-15 12:22

I have an IE8 buggy horizontal scrollbar problem, similar to this:

DIV with overflow:auto and a 100% wide table

(unfortunately the solution suggested there (

4条回答
  •  庸人自扰
    2021-01-15 13:19

    What you need to do is change the overflow value from "scroll" to "auto". Scroll gives both horizontal and vertical bars whether you need them or not. Also IE for some reason requires the innermost box to be slightly smaller than its outer boxes for this to work correctly. Finally that means if you want to change your background do so in an outer Div rather than inside an inner one.

    See the solution to your inquiry below:

    
    
    
    
    Untitled Document
    
    
     
    

提交回复
热议问题