As a newcomer to HTML, I am struggling with creating a basic calendar. Currently, I have only managed to create a grid. The issue I'm facing is that my wrapper div does not seem to be working properly - when I resize the window, the divs within it still move around. Can anyone provide insight into why this might be happening?
For reference, here is a link to my code on JSFiddle: https://jsfiddle.net/ydbgz7y5/
#wrapper{
margin: 5px auto;
width:100%;
max-width: 1100px;
overflow: hidden;
}
.column{
float: left;
width: 150px;
height: 750px;
border: 1px solid blue;
overflow: hidden;
}
.row{
width: 150px;
height: 148px;
border: 1px solid red;
}
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="wrapper">
<div class="column">
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
</div>
<div class="column">
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
</div>
<div class="column">
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
</div>
<div class="column">
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
</div>
<div class="column">
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
</div>
<div class="column">
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
</div>
</div>
</body>
</html>