进出口创造了德国一个网站,并有对方如家堆的按钮当我把它设置到位置问题:绝对的或固定的。但是,当我把它设置为相对的,它的作品。有人能解释我吗?按钮堆叠在一起?
CSS文件:
#top {
display: inline-block;
width: 352px;
height: 160px;
color : white;
background-color: #2D2D2D;
float: left;
font-family: century gothic;
font-size: 25px;
border: none;
margin: 0px;
position: fixed
}
和HTML文件:
<nav>
<a class="weiter" href="Home.html"><button id="top" >Home</button></a>
<a class="weiter" href="ueberuns.html">
<button id="top">Überuns</button></a>
<a class="weiter"><button id="top" id="click">Mitglieder</button></a>
<a class="weiter" href="gebiet.html"><button
id="top">UnserGebiet</button></a>
<a class="weiter" href="kontakt.html"><button id="top">Kontakt</button></a>
</nav>
能否请您为我们提供了两种结果的截图? – Aenadon