如果您在 JSFiddle 上查看它,则必须将结果窗口放大才能看到我在说什么。徽标应位于半圆和标题的正上方,导航应位于标题的中心并右对齐。
这是小提琴 - http://jsfiddle.net/sPEXp/1/
HTML
<div class="header">
<div class="container">
<a href="#"><img class="logo" src="img/onewaylogo.png"></a>
<nav>
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Let's Partner</a>
<a href="#">Contact</a>
</nav>
</div>
</div>
CSS
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: #f6f6f6;
z-index: 10000;
height: 100px;
}
.header .container {
position: relative;
height: 100px;
width: 85%;
margin: 0 auto;
text-align: center;
}
.header:after {
content: '';
position: relative;
bottom: 0;
display: block;
margin: 0 auto;
background: #f6f6f6;
width: 150px;
height: 75px;
border-radius: 0 0 75px 75px;
}
.header .logo,
.header nav a {
line-height: 100px;
}
.header nav {
float: right;
position: relative;
width: 320px;
}
.logo {
position: relative;
top: 50px;
display: inline-block;
width: 150px;
height: 100px;
z-index: 100000;
margin: 0 auto;
}
.header nav a {
color: #aaa;
font-weight: 700;
margin: 0 0 0 20px;
font-size: .95em;
}
.header nav a:hover {
color: #333;
}