Internet Explorer 10, max div size of 1.533.917 px

后端 未结 1 438
独厮守ぢ
独厮守ぢ 2021-01-17 02:48

I need to make a really big div, in order of millions of pixels.

Searching I found this thread that proves that IE can manage up to 10.000.000 of px.

Determi

相关标签:
1条回答
  • 2021-01-17 03:29

    Any solution for this scenario.Below link demonstrates the problem exactly. The example not created by me Nathan Williams.

    <div style="width: 500px; height: 500px; overflow: auto;">
        <div style="width: 500px; height: 10000000px; overflow: hidden; position: relative;">
            <span style="left: 0px; top: 0px; position: absolute;">top</span>
            <span style="left: 0px; top: 1193030px; position: absolute;">IE8 limit (approximate)</span>
            <span style="left: 0px; top: 1533900px; position: absolute;">IE10 limit (approximate)</span>
            <span style="left: 0px; top: 9999950px; position: absolute;">bottom</span>
        </div>
    </div>
    

    http://jsfiddle.net/Bckbr/

    0 讨论(0)
提交回复
热议问题