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
zloymux
Не могу справится с маргином.
Для вертикального отступа блоков задал классу нижний маргин 6px;
При этом появился отступ и внизу подложки оО .
margin-bottom:6px; если его обнулить футер встает на место.
аналогичная проблема если заменить на margin-top -от ступает верх.
В фоксе все нормально а хром осел и опера дают отступ.
Как это происходит неп ойму кто может помочь пояснить что как буду благодарен
Результат работы можно посмотреть golddb.ru/test/index.php
Код css
* {margin: 0; padding: 0;}/* content styles
============================== */
body{background: black;}
#bodywrap{
position: relative;
left: 225px;
width: 646px;
min-height: 900px;
text-align: center;
background: url(../img/cont_bg.png) repeat-y left;
}
#bodytop,
#bodybottom
{
position: relative;
left: 225px;
width: 646px;
background: url(../img/cont_top.png) no-repeat center;
height: 8px;
line-height:0;
}
#bodybottom
{
background: url(../img/cont_bot.png) no-repeat center;
}
/*Блок тавара*/
.borderST_lot
{
width:618px;
margin: 0 auto;
]margin-bottom:6px;
min-height:250px;
border: 4px double RGB(185,185,185);
}
Пхп страница.
Edited by zloymuxLink to comment
Share on other sites
4 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.