I do not know where I'm going wrong, but the 5th bar of the numeric sequence does not want to line up linearly, even giving a float: left; and a "nowrap" because I want to add a lower scroll bar in the content, but only the sidebar is added if I increase the width of the main 'div' consequently there will be no line break but the bottom scroll bar is not displayed , how do I display a lower bar according to the width defined in the 'div' .menu, ??
body{background-color:#6C9;}
.menu{ overflow:auto;
white-space: nowrap;
width:500px;
height:300px;
}
.menu > div{ float:left;
height:340px;
margin-left:5px;
width:100px;
background-color:#FFF;
}
<div class="menu">
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
</div>