すべての正方形が右に移動するように、div の下部 (x 軸) にスクロールを強制的に追加するにはどうすればよいですか?
CSS:
#videowall-grid{
width:700px;
border:1px dotted #dddddd;
display: none;
margin: 5px auto;
padding: 5px;
text-align:center;
}
#videowall-grid .videowall-row{
border: 1px solid red;
overflow-y: auto;
width: 700px;
height: 120px;
}
#videowall-grid .videowall-square{
padding: 5px;
margin: 5px;
border: 1px dashed #dddddd;
width: 100px;
height: 100px;
display: inline-block;
vertical-align:top;
}
HTML:
<div id="videowall-grid" style="display: block;">
<div class="videowall-row">
<div class="videowall-square" id="1_1">afasfasdfas</div>
<div class="videowall-square" id="1_1">afasfasdfas</div>
<div class="videowall-square" id="1_1">afasfasdfas</div>
<div class="videowall-square" id="1_1">afasfasdfas</div>
<div class="videowall-square" id="1_1">afasfasdfas</div>
<div class="videowall-square" id="1_1">afasfasdfas</div>
<div class="videowall-square" id="1_1">afasfasdfas</div>
<div class="videowall-square" id="1_2">sadfasfasdafsdasdfsafsadfsafsfadfasdfasfasdfasf</div>
<div class="videowall-square" id="1_3">adfasfdasdf channel 1 camera with a very very very</div>
<div class="videowall-square" id="1_4">asdfadsffasdsf</div>
</div>
<div class="videowall-row">
<div id="2_1" class="videowall-square">asdfasd cam1</div>
<div id="2_2" class="videowall-square">asdfasd cam2</div>
<div id="2_3" class="videowall-square">asdfasd cam4</div>
<div id="2_4" class="videowall-square">button</div>
</div>
<div class="videowall-row">
<div id="3_1" class="videowall-square"></div>
<div id="3_2" class="videowall-square">button</div>
<div id="3_3" class="videowall-square">button</div>
<div id="3_4" class="videowall-square">button</div>
</div>
</div>