Вот базовая версия того, что я сделал до сих пор: http://jsfiddle.net/6PA6k/17/
Код: Выделить всё
* {
margin: 0;
padding: 0;
}
html {
height: 100%;
width: 100%;
}
body {
height: 100%;
width: 100%;
}
.wrapper {
height: 100%;
width: 100%;
background: red;
}
.button-container {
height: 100%;
width: 50px;
}
.button {
width: 50px;
height: 50px;
background: blue;
}
Код: Выделить всё
Подробнее здесь: [url]https://stackoverflow.com/questions/22104839/set-div-50-height-of-parent-div[/url]