here is what I created 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>
the problem is that little vertical scroll: I would like to not have it.
Why this little bug? And how can I fix it? I thought to set overflow-y:hidden but I don't think it's the best solution: if I would set a min-height and then display the scroll it would be always hidden (unless I act with a js script)