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
Vitrilo
<div class="top-frame">
<iframe src="frames/main-frame.html"></iframe>
</div>
<div class="bottom-frame">
<iframe id="chat" name="chat" src="frames/chat.html" scrolling="no"></iframe>
</div>
body{
height:100%;
}
.top-frame{
width:100%;
height:70%;
}
.top-frame iframe{
width:100%;
border:none;
height:100%;
overflow:hidden;
}
.bottom-frame{
width:100%;
height:30%;
}
.bottom-frame iframe{
width:100%;
border:none;
height:100%;
overflow:hidden;
}
Ифреймы не тянуться по высоте никак, стоят по 150 пикселей (по умолчанию). Как сделать, чтобы верхний занимал 70%, нижний 30%?
Если задавать в пикселях - то все хорошо.
ЗЫ. Нормально отображают только ие7 и хром
Edited by VitriloLink to comment
Share on other sites
1 answer 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.