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
spatlet
Всем привет. Мне нужно сделать три колонки. По краям фон, а по центру контент. Делаю так:
Html:
<div id="main">
<div id="left_bg"></div>
<div id="content">Тут какой-то контент</div>
<div id="right_bg"></div>
Css:
div#main {
overflow:hidden;
width:100%;
}
div#left_bg {
float:left;
width:17px;
background-color:#b74929;
padding-bottom:10000px;
margin-bottom:-10000px;
}
div#content {
float:left;
width:936px;
padding-bottom:10000px;
margin-bottom:-10000px;
}
div#right_bg {
float:left;
width:17px;
background-color:#b74929;
padding-bottom:10000px;
margin-bottom:-10000px;
}
Но у меня почему-то не отображается правый фон. Подскажите что нетак.
Link to comment
Share on other sites
3 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.