私はドイツ語でウェブサイトを作成しており、ボタンをホームに置いたときのようにボタンを置くと絶対的か固定かという問題があります。しかし、私はそれを相対的に設定します。誰かが私にそれを説明できますか?ボタンはお互いに積み重なっていますか?
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