You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
Darkside
Доброго дня!
Есть раскладка на флоатах
стили
html,body {
margin:0;
padding:0;
}
html {
height:100%;
}
body {
padding:0;
margin:0 auto;
width:80%;
min-height:100%;
position:relative;
}
* html body {
height:100%;
}
#container {
width:100%;
height:100%;
background:#FFFFFF;
}
#leftcol {
float: left;
width: 200px;
background: #008000;
}
#rightcol {
margin-left: 200px;
background-color: #00CCFF;
}
#head {
float:left;
width:100%;
height:200px;
background:#FF0000;
}
#content {
padding-bottom:82px; /* = 80+1+1 */
background:#999999;
}
#footer {
height:80px;
background: #333;
clear: both;
position:absolute;
bottom:0;
height:40px;
width:100%;
padding:1px 0;
}
Подскажите, как можно сделать, чтобы leftcol и content занимали все свободное пространство по высоте.
Еще хочется узнать мнение по поводу правильности такой верстки (особенно по поводу стилей для вложенных дивов head и content) для вот такого макета:
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.