0

私の問題は、ロゴと ΛΟΓΙΣΜΙΚΟ メニューを揃えたいことです。私はすべてを試しましたが、それらを一緒に動かすことはできません。メニューははるかに速く移動します... javascriptを使用して位置を取得し、ロゴをメニューと同じ位置で移動するように設定しようとしていますが、ここでページがhttp://www. altasoft.gr/index_.htm

<div class="header">
    <div style="position:relative;top:10px; z-index:99; width:50%"><a href="http://www.altasoft.gr/index_.htm"><img  src="images/Altasoft_Logo.png" alt="" width="354" height="91" /></a></div>
    <div style="position:relative; left:10%; top:-30px; z-index:5; width:80%; min-width:550px;"> <img style="float:right;" src="images/telephone.gif" alt="" width="142" height="16" /></div>
</div>
.nav-container {
    background: #eaeaeb;
    /*background: #fff url(../images/menu_bg.gif) no-repeat 50% 0%;*/
    clear: both;
    height: 48px;
}
#nav {
    /*padding: 0px 0px 0px 30px;*/
    width: 931px/*920px*/;
}
#nav li {
    padding-right: 8px;
    margin-top: 10px;
    padding-bottom: 10px;
    text-decoration: none;
}
4

3 に答える 3

1
<div class="header">
    <div style="left: 17%;
top: 10px;
z-index: 99;
width: 859px;
margin: auto;"><a href="http://www.altasoft.gr/index_.htm"><img width="354" height="91" alt="" src="images/Altasoft_Logo.png"></a></div>


     <div style="position:relative; left:10%; top:-30px; z-index:5; width:80%; min-width:550px;"> <img width="142" height="16" alt="" src="images/telephone.gif" style="float:right;"></div>
       </div>
于 2013-07-24T12:02:28.947 に答える