""https://i.sstatic.net/gUhLT.png" alt="此处输入图像描述"/ >
以下是我对 html 页面的代码:
<header>
<h2>
Corporate
jobpost
</h2>
<div id= tabjob >
<ul>
<li>
<a class= innertab selectprofile href= #YourJobposts >Your Jobposts</a>
</li>
<li>
<a class= innertab signupprofile href= #OtherJobposts >Other Jobposts</a>
</li>
<li>
<a class= innertab signupprofile href= #Appliedfor >Applied for</a>
</li>
</ul>
</div>
</header>
页眉是图像中灰色的事物。在此处,我要显示文字,该标签页眉旁边的导航,以及该按钮的角。
以下是我用于此标签导航的 CSS :
#tabjob
{
padding-top:0px;
padding-left:10px;
height:0px;
}
.innertab
{
background-color: rgba(142, 194, 218, 0.3);display: block;height: 25px;
line-height: 30px;text-align: center;
width: auto;float: left;font-weight: bold;
padding-left: 8px;
padding-right: 8px;
text-shadow: #eee 0px 0px 2px;
}
#tabjob ul li
{
display:block;
}