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
Sodeum
Вот начал создавать сайт. Хочу что бы он был ПОЛНОСТЬЮ резиновый по высоте и ширине!
Мне нужно что бы блоки (шапка, новости, меню, и подвал) были определенных размеров в %.
Помогите плиз....
Вот HTML:
Вот CSS:
body {
background-image: url(../images/fon.jpg);
}
.container {
width: 100%;
height: 100%;
}
.header {
box-shadow: 7px 7px 5px rgba(0,0,0,0);
padding: 10px;
border-radius: 10px;
background: #000;
background: rgba(0, 0, 0, 0.7);
color: #fff;
margin-bottom:20px;
height: 20%
float: center;
}
b {
font-size: 24px;
}
.menu {
float: right;
}
.content {
box-shadow: 7px 7px 5px rgba(0,0,0,0);
padding: 10px;
border-radius: 10px;
background: #000;
background: rgba(0, 0, 0, 0.7);
color: #fff;
margin-bottom: 20px;
width: 65%;
height: 65%;
float: left;
}
.status {
box-shadow: 7px 7px 5px rgba(0,0,0,0);
padding: 10px;
border-radius: 10px;
background: #000;
background: rgba(0, 0, 0, 0.7);
color: #fff;
width: 30%;
height: 65%;
margin-bottom: 20px;
float: right;
}
.footer {
box-shadow: 7px 7px 5px rgba(0,0,0,0);
padding: 10px;
border-radius: 10px;
background: #000;
background: rgba(0, 0, 0, 0.7);
color: #fff;
height: 10%;
margin-bottom: 20px;
float: center;
}
Link to comment
Share on other sites
2 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.