В общем, в блоке #primary_content есть три блока, крайние это тени, нужно чтобы они растягивались по высоте дива #center.
Если я ставлю чёткую высоту у крайних то всё нормально, но высота всегда динамическая, по-этому она должна меняться относительно высоты центрального дива.
Подскажите пожалуйста как сделать кроссбраузерное решение, ie6 - не имеет значения =)
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
Frie
<div id="primary_content">
<div id='background_content_left'></div>
<div id='center'></div>
<div id='background_content_right'></div>
</div>
#primary_content{
width:736px;
min-height:600px;
margin-left:26px;
float:left;
margin-top:31px;
}
#background_content_left{
background-image: url("img/background_content_left.png");
width:17px;
height:100%;
background-repeat:repeat-y;
float:left;
}
#center{
width:699px;
min-height:600px;
float:left;
}
#background_content_right{
background-image: url("img/background_content_right.png");
width:20px;
height:100%;
background-repeat:repeat-y;
float:left;
}
В общем, в блоке #primary_content есть три блока, крайние это тени, нужно чтобы они растягивались по высоте дива #center.
Если я ставлю чёткую высоту у крайних то всё нормально, но высота всегда динамическая, по-этому она должна меняться относительно высоты центрального дива.
Подскажите пожалуйста как сделать кроссбраузерное решение, ie6 - не имеет значения =)
Edited by FrieLink to comment
Share on other sites
8 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.