私はページの中央にフッタの3つの要素を取得しようとしましたが、もう一度4番目の要素を追加するとどのように動作するのか分かりません。フッターの途中でフッター要素を取得するにはどうすればよいですか?
これは私のHTMLとCSSのコードです:
footer {
\t width: 100%;
\t background-color: #333;
\t display: table;
}
/* Finanzdienstleistungen */
.finanzdienstleistungenfooter {
\t display: table-cell;
\t list-style: none;
\t padding-left: 50px;
}
.finanzdienstleistungenfooter li h1 {
\t text-decoration: none;
\t color: black;
\t font-size: 16px;
\t padding-bottom: 5px;
}
.finanzdienstleistungenfooter li a {
\t text-decoration: none;
\t color: black;
\t color: rgba(106,106,106,1.00);
\t font-size: 14px;
}
/* Vermietung */
.vermietungfooter {
\t display: table-cell;
\t list-style: none;
\t padding-left: 50px;
}
.vermietungfooter li h1 {
\t text-decoration: none;
\t color: black;
\t font-size: 16px;
\t padding-bottom: 5px;
}
.vermietungfooter li a {
\t text-decoration: none;
\t color: rgba(106,106,106,1.00);
\t font-size: 14px;
}
/* Über uns */
.ueberunsfooter {
\t display: table-cell;
\t list-style: none;
\t padding-left: 50px;
}
.ueberunsfooter li h1 {
\t text-decoration: none;
\t color: black;
\t font-size: 16px;
\t padding-bottom: 5px;
}
.ueberunsfooter li a {
\t text-decoration: none;
\t color: rgba(106,106,106,1.00);
\t font-size: 14px;
}
<footer>
<ul>
<li>
<ul class="finanzdienstleistungenfooter">
<li><a href="finanzdienstleistungen.php"><h1>Finanzdienstleistungen</h1></a></li>
<li><a href="#">Versicherungen</a></li>
<li><a href="#">Schadensabwickelung</a></li>
</ul>
<ul class="vermietungfooter">
<li><a href="vermietung.php"><h1>Vermietung</h1></a></li>
<li><a href="#">Freie Wohnungen</a></li>
<li><a href="#">Alle Wohnungen</a></li>
</ul>
<ul class="ueberunsfooter">
<li><a href="#"><h1>Über uns</h1></a></li>
<li><a href="impressum.php">Impressum</a></li>
<li><a href="#">Kontakt</a></li>
</ul>
</li>
</ul>
</footer>
うん、それをthatsのが、どのように私は離れて上部の左端このsmalle少しポイントを得ることができますか? –
それを得ました。ちょうど追加list-style:none; .top-listのコンテンツに追加します。 –