Форум hotibo.ru

Сайты - по стандартам, но не стандартные сайты!






#1 30.01.2011 17:05

Dreamer
Новичок
Откуда: Украина
Зарегистрирован: 30.01.2011
Сообщений: 36
Вебсайт

в Internet Explorer под блоком появляется отступ

в Internet Explorer под блоком появляется отступ, уже все вроде перепробовал, ни где ответа не нашел.
удалось это исправить обходным путем спомошью задания свойтсва important { margin-top: 2px !important;  margin-top: -1px;} так как Internet Explorer его игнорирует, но вот проблема в 7.0 исправили это.
Отступ образовывается между content и footer, картинку загрузить не могу поэтому прийдется в слепую понимаать проблему,
очень надеюсь на помошь.

Код:

#content {
    background: #282f33;
    position: relative;
    width: 883px;
    padding: 0;
    padding: 0 0 0px 0;
}
#newslftbar {
    background: #171914;
    position: absolute;
    left: 0;
    top: 0;
    width: 352px;
    height: 844px;
    margin: 0;
}
.pad { padding: 0 15px; padding-top: 20px; }
#newsletmain  {
    background: #171914;
    position: absolute;
    right: 177px;
    top: 0;
    width: 175px;
    height: 783px;
    margin: 0 0 2px 0;
}
#newsletmain div.playlistitem {
    color: #FFF;
    padding: 10px 16px 0  16px;
    height: 55px;
    position: relative;
}
#rgtbar {
    position: absolute;
    right: 0;
    top: 0;
    width: 175px;
    margin: 0;
    padding: 0;
}
#welcome {
    background: #171914;
    padding: 20px 15px;
    margin-bottom: 2px;
}
#shop {
    padding: 20px 15px 0 15px;
    background: #21231e;
}
.shopitem {
    color: #FFF;
    padding: 0 0 12px 0;
    position: relative;
}
#loginrgt {
    background: #171717;
    color: #FF00F9;
    font-size: 9px;
    font-family: Tahoma, Helvetica, sans-serif;
    margin-bottom: 2px;
    position: relative;
    height: 164px;
    padding: 20px 15px;
}
#loginrgt .inputbox { border: none; background: #3D153C; color: #FF00F9; height: 25px; margin: 10px 0; }
#loginrgt a:link   { color: #FF00F9; text-decoration: underline; }
#loginrgt a:visited {
    color: #FF00F9;
}
    #loginrgt a:active, #loginrgt a:hover { text-decoration: none; }
/*End Login right */
#footer { background: #21231e; position: relative; padding: 15px 12px; margin-top: 2px !important;  margin-top: -1px;}
#footer img { padding-top: 0px; margin-right: 12px; vertical-align: middle; }
#footer p { color: #ccc; display: inline; line-height: 1; }
#footer p b { font-weight: normal; }
#footer a {
    color: #09C8A0;
}


SUPPORT FRISKY DJS IN THE X-PRESS-2 REMIX COMPETITION

September 19 2006

friskyRadio is well represented amongst the most established remixers and producers in the world. Support friskyRadio by voting for dPen's remix entry in the Kill 100 Remix competition by pre-ordering a copy here. The winning remix is the one with

friskyRadio is well represented amongst the most established remixers and producers in the world. Support friskyRadio by voting for dPen's remix entry in the Kill 100 Remix competition by pre-ordering a copy here. The winning remix is the one with

friskyRadio is well represented amongst the most established remixers and producers in the world. Support friskyRadio by voting for dPen's remix entry in the Kill 100 Remix competition by pre-ordering a copy here. The winning remix is the one with

friskyRadio is well represented amongst the most established remixers and producers in the world. Support friskyRadio by voting for dPen's remix entry in the Kill 100 Remix competition by pre-ordering a copy here. The winning remix is the one with

friskyRadio is well represented amongst the most established remixers and producers in the world. Support friskyRadio by voting for dPen's remix entry in the Kill 100 Remix competition by pre-ordering a copy here. The winning remix is the one with

friskyRadio is well represented amongst the most established remixers and producers in the world. Support friskyRadio by voting for dPen's remix entry in the Kill 100 Remix competition by pre-ordering a copy here. The winning remix is the one with

friskyRadio is well represented amongst the most established remixers and producers in the world. Support friskyRadio by voting for dPen's remix entry in the Kill 100 Remix competition by pre-ordering a copy here. The winning remix is the one with

friskyRadio is well represented amongst the most established remixers and producers in the world. Support friskyRadio by voting for dPen's remix entry in the Kill 100 Remix competition by pre-ordering a copy here. The winning remix is the one with

Welcome to DJ.UA, listener supported internet radio -- streaming the best in electronic music live and On Demand. New users to the site should head over to our forums & register for access to additional features like timezone support & free promotional downloads.

Имя пользователя:
Пароль:
Регистрация
Забыли пароль?
T-Shirt               20$

Выложил такой код потому что поидеи проблема может быть именно в этом месте,
вот еще такой доктайп стоит

Отредактированно Dreamer (30.01.2011 17:55)


Automir.dp.ua

Нет на форуме

 

#2 30.01.2011 17:44

tapazukk
Опытный
Зарегистрирован: 16.01.2010
Сообщений: 349
Вебсайт

Re: в Internet Explorer под блоком появляется отступ

Под каким болком? Вы бы минимизировали код и выложили проблемный участок,или целиком весь документ (вместе с DOCTYPE)
=phpBB tag=>[сode] wink

Нет на форуме

 

#3 30.01.2011 17:58

Dreamer
Новичок
Откуда: Украина
Зарегистрирован: 30.01.2011
Сообщений: 36
Вебсайт

Re: в Internet Explorer под блоком появляется отступ

Сообщение подредактировал,

to tapazukk спасибо что уделили внимание и надеюсь на помошь


Automir.dp.ua

Нет на форуме

 

#4 31.01.2011 04:36

LiveKillers
Новичок
Откуда: Russia
Зарегистрирован: 16.12.2010
Сообщений: 15
Вебсайт

Re: в Internet Explorer под блоком появляется отступ

Можно обойти и IE7, указав следующее:
{ margin-top: 2px;  //margin-top: -1px;}
Лучше было бы даже так
{ margin: 2px 0 0 0;  //margin: -1px 0 0 0;}
Но это решение лишь сугубо на первый взгляд, поскольку в коде я не копался.

Нет на форуме

 

#5 01.02.2011 14:16

Dreamer
Новичок
Откуда: Украина
Зарегистрирован: 30.01.2011
Сообщений: 36
Вебсайт

Re: в Internet Explorer под блоком появляется отступ

Спасибо LiveKillers,
попробую,
я еще нашел такой вариант правда пока не пробовал
[id]#element или [class].element


Automir.dp.ua

Нет на форуме

 

Board footer