私は簡単なナビを持っています。私は再作成しようとしています。私は正しいセクションに入っていて、私はリさんと付き合っています。 100%と私はセンターを調整するのではなく、ミドルを調整するリンクが必要です。私が達成しようとしているものの例ナビゲーションとロゴの高さが垂直のテキストアライメントで
ここには私が達成しようとしているもののpage exampleがあります。そして、スクリーンショット:
これは私がこれまで持っているものです。
.page-header{
\t display: inline-block;
margin: 0;
position: absolute;
vertical-align: middle;
width: 100%;
z-index: 110;
\t background-color: aqua;
}
.header-standard { \t
\t height: 86px; \t
}
.branding{
\t display: block;
\t float: left;
}
.branding img {
\t height: 60px;
\t margin: 15px 25px;
}
.standard-nav{
\t height: 100%;
\t display: block;
\t float: right;
}
.special-link {
\t display: inline;
background-color: #ff5252;
width: 200px;
\t height: auto;
text-align: center;
\t margin: 0;
}
.standard-nav > ul > li {
\t bottom: 0;
}
.standard-nav ul li {
\t display: inline-block;
\t padding: 0;
\t margin: 0;
}
<header class="page-header">
<div class="header-standard">
<div class="branding">
\t <img src="http://via.placeholder.com/350x150">
</div>
<nav class="standard-nav">
\t <ul>
\t \t <li>Link 1</li>
\t \t <li>Link 2</li>
\t \t <li>Link 3</li>
\t \t <li>Link 4</li>
\t \t <li class="special-link">Special Link</li>
\t </ul>
</nav>
\t
</div>
</header>