Jump to content
Sign in to follow this  
arm136

oc 1.4.9 вывод поиска в г-ое меню

Recommended Posts

изменил горизонтальное меню и тут вылезло?) подскажите что подправить UbOuXI1Xu04.jpg

 

    <div class="div5">
      <div id="menu">
          <ul>
            <li><a href="/">Главная</a></li>
              <li><a href="/">Каталог товаров</a></li>
                 <li><a href="/">Доставка и Оплата </a></li>
                  <li><a href="/">Контакты</a></li>
                   <li><a href="/">Гарантии</a></li>
                    <li><a href="/">Помощь</a></li>
                     <li><a href="/">О нас</a></li>
                 </ul>
                  <div id="search">
<div class="div9">
<?php if ($keyword) { ?>
<input type="text" value="<?php echo $keyword; ?>" id="filter_keyword" />
<?php } else { ?>
<input type="text" value="<?php echo $text_keyword; ?>" id="filter_keyword" onclick="this.value = '';" onkeydown="this.style.color = '#000000'" style="color: #999;" />
<?php } ?>
</div>
<div class="div10">  <a onclick="moduleSearch();" class="button"><span><?php echo $button_go; ?></span></a>
</div>
    </div>
  </div>
 
 
 
#menu,
#menu ul,
#menu li #menu a {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 14px;
  font-family: Helvetica;
  line-height: 1;
}
#menu {
  width: 960px;
  height:44px;
}
#menu ul {
 border: 1px solid #000000;
  -moz-box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2);
  -webkit-box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2);
  background: #565656;
  background: -moz-linear-gradient(#565656 0%, #323232 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #565656), color-stop(100%, #323232));
  background: -webkit-linear-gradient(#565656 0%, #323232 100%);
  background: linear-gradient(#565656 0%, #323232 100%);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
#menu ul:before {
  content: '';
  display: block;
}
#menu ul:after {
  content: '';
  display: table;
  clear: both;
}
#menu a,
#menu a:link,
#menu a:visited {
  padding: 15px 20px;
  display: block;
  text-decoration: none;
  color: #ffffff;
  text-shadow: 0 -1px 1px #586835;
  border-right: solid 1px #4f4f4f;
}
#menu a:hover {
  background: #444444;
  background: -moz-linear-gradient(#444444 0%, #323232 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #444444), color-stop(100%, #323232));
  background: -webkit-linear-gradient(#444444 0%, #323232 100%);
  background: linear-gradient(#444444 0%, #323232 100%);
}
#menu li {
  float: left;
  border-right: 1px solid #000000;
}
#menu li:first-child {
  border-left: none;
  -webkit-border-radius: 4px 0 0 4px;
  -moz-border-radius: 4px 0 0 4px;
  border-radius: 4px 0 0 4px;
}
 
 

Share this post


Link to post
Share on other sites

 

подскажите что подправить 

 

версию. судя по всему вы не сильны в верстке - зачем вам это "раритет"?

Share this post


Link to post
Share on other sites

версию. судя по всему вы не сильны в верстке - зачем вам это "раритет"?

да) спасибо  решил проблему 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.