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
vr201
доктайп хтмл 1,0 транситионал
задача. заставить три дива растягиваться на 100% по высоте окна.
внутри них четвертый див с минимальной высотой 500px;
хотелось бы, чтобы когда текста было много (т.е. суммарно больше высоты в 500px)
one, two и three "тянулись" вниз..
CSS
* {margin: 0; padding: 0;}
html, body {height: 100%;}
.one {height: 100%; background: red url('image.gif') top repeat-x;}
.two {height: 100%; background: green url('image2.gif') bottom repeat-x;}
.three {height: 100%; background: #fff; margin: 0 200px;}
.text {min-height: 500px; height: auto; //height: 500px;}
HTML
поиск не помог.. целый день колдую, ничего толкового не получается.
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.