私は次のようなものがあります。私はちょうどサイトにロゴを追加しました。何らかの理由でロゴ/画像の右側にあるナビゲーションパネルのリンクがクリックできなくなりました。画像がどうにかして過剰撮影されているように見えますが、私はどのように見えません。コンソールで、画像を見てもそれを見過ごしていませんか?リンクをカバーしている画像
これはなぜ起こっているのですか?画像のz屈折率は、リンクのz屈折率未満であること
.header {
\t margin: 0;
\t background-color: rgba(0,0,0,0);
\t height: 80px;
\t z-index: 9999;
\t position: absolute;/*test*/
\t width: 100%;
}
.header_wrap {
\t margin: 0 4%;
\t padding: 2% 0 0 0;
}
.logo {
\t position: absolute;
\t margin-top: -15px;
\t cursor: pointer;
}
.logo-img {
\t /*height: 75px;
\t width: auto;*/
\t height: auto;
\t width: 25%;
}
.logo a {
\t color: #000;
\t text-decoration: none;
}
.nav-list {
\t margin: 0;
\t list-style: none;
\t text-align: right;
\t width: 100%;
\t padding: 0;
}
.nav-list > a {
\t display: inline-block;
\t padding: 0px 15px;
\t text-decoration: none;
}
.nav-list > a > li {
\t text-decoration: none;
\t font-size: 1.2em;
\t color: #000;
}
.nav-list > a > li:hover {
\t color: #3f3f3f;
}
<header class="header">
<div class="header_wrap">
<div class="logo"><a href="/"><img src="http://optimumwebdesigns.com/images/LogoOpt2.png" class="logo-img" alt="Optimum Designs"></a></div>
<ul class="nav-list">
<a href="work"><li>WORK</li></a>
<a href="approach"><li>APPROACH</li></a>
<a href="services"><li>SERVICES</li></a>
<a href="discuss-project"><li>PROJECT</li></a>
<a href="contact"><li>CONTACT</li></a>
</ul>
</div>
</header>
あなたが位置 'よりもやって示唆している他に何:絶対;'それのために? – Becky
@Beckyロゴの横にナビバーが必要な場合は、ポジションが必要です。 'display:inline-block'または' display:table/table-cell'のどちらかを使用してください – ketan
'display:inline-block;'をロゴに適用すると、navを押し下げます。 – Becky