Это код: проблема в Firefox состоит в том, что полоса прокрутки не имеет ограничений в направлении X.
Пожалуйста, откройте код в Chrome и Firefox, чтобы увидеть разницу в полосе прокрутки для лучшего пониманияэта проблема.
Заранее спасибо!
<html>
<body>
<div style="position: absolute; overflow-x: hidden; overflow-y: hidden; left: 0px; top: 0px; right: 0px; bottom: 0px; height:180px;">
<div style="position: absolute; left:0px; right:0px; top:0px; bottom:0px; overflow:auto; ">
<div style="width:40000px">
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
<div style="width:150px; height:150px; background-color:blue; margin:4px; float:left" > </div>
</div>
</div>
</div>
</body>
</html>