У меня есть две колонки, одна с гибкой шириной и одна, которая должна расширяться до оставшейся ширины. я это настроить так:Сделать плавающий div развернуть до высоты страницы
.container {
height: auto;
overflow: hidden;
}
.right {
width: 80px;
float: right;
background: #aafed6;
position:relative; /* Needed for positioning an element absolutely inside this dib */
}
.left {
float: none; /* not needed, just for clarification */
background: #e8f6fe;
/* the next props are meant to keep this block independent from the other floated one */
width: auto;
overflow: hidden;
}
Вот скрипка: http://jsfiddle.net/dms53yt8/
Моей проблема, я хочу право ДИВ иметь равную высоту, как и левые дела. Как я могу это сделать, сохраняя при этом существующую структуру?
Спасибо! Uri
http://stackoverflow.com/questions/1205159/html-css-making-two-floating-divs-the-same-height ♦ HTTP: // StackOverflow. com/questions/2114757/css-equal-height-columns ♦ http://stackoverflow.com/questions/14763363/how-to-create-equal-height-columns-in-pure-css И я уверен, что вы найти другие подобные вопросы по SO. –