Бормотухи.НЕТ

Вернуться   Бормотухи.НЕТ > Web-мастеру > vBulletin 3.х
Расширенный поиск

vBulletin 3.х Раздел о vBulletin и всем что касается этого скрипта

Ответ
 
Опции темы Поиск в этой теме
Старый 17.02.2012, 14:00 Вверх   #1
Новичок
 
Аватар для mandarin
mandarin вне форума
Доп. информация
Восклицание Помогите подружить шаблон с всплывающим меню

Здравствуйте! Прошу у вас помощи, так как сам уже не знаю что делать. Промучился практически неделю пытаясь разобраться в причинах, ходил в гугл, то ли не так спрашивал, то ли просто не повезло
Суть проблемы в следующем: На шаблон повесил рамку из картинок, и после этого NAVBAR POPUP MENUS сместилось вниз и вправо! Думаю, что это из за неграмотного позиционирования всего шаблона по центру, т. к. у всплывающих менюшек прописываются жесткие координаты, и ясно - они же ведь отсчитываются от чего то! Но вот от чего и чем?

Я не прошу сделать все за меня, но если знаете в чем дело, хотя бы пните в нужном направлении, буду очень благодарен :)

Ресурс где эта проблема _tagteam .ru/forum/index.php если кликнуть например по поиску то отобразиться он где то в стороне, а не под самим словом поиск

Часть кода общего шаблона header:
PHP код:
<div class="wrapper">
<!-- 
HEADER --><div class="header-utility"></div><!-- /HEADER -->
<!-- 
MAIN -->
    <
div class="main-page">
        <
div class="content-container">
        <
div class="above_body"><!-- closed later in vb DONT REMOVE -->
            <
div id="header" class="floatcontainer doc_header"></div>
        </
div><!-- closing div for above_body -->
        <
div class="body_wrapper">
        <!-- 
main -->        

<!-- 
main -->

<!-- 
logo -->

<
a name="top"></a>
<
table border="0" height="118" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
<
tr>
    <
td align="$stylevar[left]"><a href="$vboptions[bburl]/$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]border="0" alt="$vboptions[bbtitle]/></a></td>
    <
td align="$stylevar[right]id="header_right_cell">
        <if 
condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
    </
td>
<if 
condition="$show['member']">
далее идет стандартный код... 
Часть кода общего шаблона footer:
PHP код:
стандартный код...
<
script type="text/javascript">
$searchcloud
<!--
    
// Main vBulletin Javascript Initialization
    
vBulletin_init();

//-->
</script>

<!-- /main -->

            
        </div> <!-- closing div for body_wrapper -->



    </div>
    <div id="top-top-border"></div><!-- Adds top decoration, no content :( -->
    <div id="top-left-border"></div>
    <div id="top-right-border"></div>

    <div id="bottom-bottom-border"></div> <!--Adds bottom decoration, no content :(-->
    <div id="bottom-left-border"></div>
    <div id="bottom-right-border"></div>
    </div>
  <!-- /MAIN --></div> 
Основная таблица стилей CSS
PHP код:
.thead1
{
margin-right15px !important;
background#494849 url(images/evid_blue/gradients/thead.gif) repeat-x top left;
color#FFFFFF;
font11px tahomaverdanagenevalucida'lucida grande'arialhelveticasans-serif;
}
.
thead1 a:link, .thead1_alink
{
color#FFFFFF;
}
.
thead1 a:visited, .thead1_avisited
{
color#FFFFFF;
}
.
thead1 a:hover, .thead1 a:active, .thead1_ahover
{
color#CCCCCC;
}

.
dcc {
background-imageurl(images/evid_blue/gradients/dc_centre.gif); 
height5px
font-size1px
line-height1px;
padding0px 0px 0px 0px;
}
.
dcg {
floatleft
background-imageurl(images/evid_blue/gradients/dc_gauche.gif); 
width20px
height5px;
}
.
dcd {
floatright
background-imageurl(images/evid_blue/gradients/dc_droite.gif); 
width20px
height5px;
}
.
nav1 {
color#323232;
fontbold 13px verdanagenevalucida'lucida grande'arialhelveticasans-serif;
}
.
nav1 a:link, .nav1_alink
{
color#323232;
fontbold 13px verdanagenevalucida'lucida grande'arialhelveticasans-serif;
text-decorationnone;
}
.
nav1 a:visited, .nav1_avisited
{
color#323232;
fontbold 13px verdanagenevalucida'lucida grande'arialhelveticasans-serif;
text-decorationnone;
}
.
nav1 a:hover, .nav1 a:active, .nav1_ahover
{
color#323232;
fontbold 13px verdanagenevalucida'lucida grande'arialhelveticasans-serif;
text-decorationunderline;
}
.
cat1 {
backgroundurl(images/evid_blue/gradients/tcat_center.pngrepeat-x top left;
color#323232;
fontbold 13px verdanagenevalucida'lucida grande'arialhelveticasans-serif;
}
.
cat1 a:link, .tcat_alink
{
color#323232;
fontbold 13px verdanagenevalucida'lucida grande'arialhelveticasans-serif;
text-decorationnone;
}
.
cat1 a:visited, .tcat_avisited
{
color#323232;
fontbold 13px verdanagenevalucida'lucida grande'arialhelveticasans-serif;
text-decorationnone;
}
.
cat1 a:hover, .tcat a:active, .tcat_ahover
{
color#323232;
fontbold 13px verdanagenevalucida'lucida grande'arialhelveticasans-serif;
text-decorationunderline;
}
/****************************/
/********************/
/****************************/
body
    
{
    
padding0;
margin:0;

}
html.standard_errorbody.standard_error 
    
{
    
background-imagenone !important;
    }
.
wrapper 
    
{
    
width1036px;
    
margin0 auto;

    }
.
header-utility 
    
{
    
width1036px;
    
height250px;
    }
.
main-page 
    
{
    
width1036px;
    
positionrelative;
    
z-index1
    }
.
main-page header 
    
{
    
height108px
    }
.
content-container
    
{
    
positionrelative;
    
z-index1;
    
padding-left38px;
    
padding-right38px;
    
/*overflow: hidden;*/
    
min-height420px
    
padding-bottom8px

    }
.
content-header 
    
{
    
width550px;
    
positionabsolute;
    
left0;
    
top0;
    
height102px;
    }

/****************************
Visual Styles
****************************/
.mn_bottoms a img
    
{
    
floatright !importantmargin-right:5px !important
}
html 
    
{
    
backgroundblack url("images/mnstyle/map.jpg"no-repeat top fixed;
    }
body
    
{
    
backgroundurl("images/mnstyle/utility-bar-bg.jpg"no-repeat top;
    
z-index0
    
    }
.
header-utility
    
{
    
positionrelative;
    
backgroundurl("images/mnstyle/header.png"no-repeat;
    }
.
main-page
    
{
    
backgroundurl("images/mnstyle/border-bg.jpg");
    }
.
content-container
    
{
    }
#top-top-border {
  
positionabsolute;
  
z-index2;
  
width1078px;
  
height68px;
  
left: -14px;
  
top: -47px;
  
backgroundurl("images/mnstyle/border-top-top.png"no-repeat top left;
  
z-index5; }

#top-left-border {
  
positionabsolute;
  
z-index2;
  
width74px;
  
height230px;
  
left: -14px;
  
top21px;
  
backgroundurl("images/mnstyle/border-top-left.png"no-repeat top left;
  
z-index5; }

#top-right-border {
  
positionabsolute;
  
z-index2;
  
width85px;
  
height233px;
  
right: -28px;
  
top21px;
  
backgroundurl("images/mnstyle/border-top-right.png"no-repeat top left;
  
z-index5; }

#bottom-bottom-border {
  
positionabsolute;
  
z-index2;
  
width1078px;
  
height100px;
  
left: -14px;
  
bottom: -59px;
  
backgroundurl("images/mnstyle/border-bottom-bottom.png"no-repeat top left; }

#bottom-left-border {
  
positionabsolute;
  
z-index2;
  
width74px;
  
height123px;
  
left: -14px;
  
bottom41px;
  
backgroundurl("images/mnstyle/border-bottom-left.png"no-repeat top left; }

#bottom-right-border {
  
positionabsolute;
  
z-index2;
  
width85px;
  
height87px;
  
right: -28px;
  
bottom41px;
  
backgroundurl("images/mnstyle/border-bottom-right.png"no-repeat top left; }


body {
/*overflow-y: hidden; */
color#fff;
}

.
above_body {
background#281908;


Последний раз редактировалось mandarin; 17.02.2012 в 14:07..
  Ответить с цитированием
Ответ


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 18:56. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc. Перевод: zCarot
 

Время генерации страницы 0.12586 секунды с 11 запросами