Check out my creation at http://jsfiddle.net/ZygnV/
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
.main-content-wrapper {
height: 100%;
overflow-y: hidden;
white-space: nowrap;
}
.main-sidebar {
display: inline-block;
height: 100%;
width: 220px;
background-color: rgb(0, 0, 0);
}
.main-content {
display: inline-block;
height: 100%;
width: 10000px;
}
<div class="main-content-wrapper">
<nav class="main-sidebar">
</nav>
<section id="main-content" class="main-content">
</section>
</div>
I'm facing a small problem with a vertical scroll appearing. I would like to remove it completely.
What could be causing this bug? And more importantly, how can I resolve it? I've considered using overflow-y:hidden, but I don't think that's the best solution. Perhaps setting a min-height and then displaying the scroll when necessary might work better (unless I use a JavaScript script).