請看這張圖會解釋更好 https://gyazo.com/333fc2ef04f558480386b7be67eb1bda對齊文本
我在我的網頁底部的橙色頁腳,我想文本對齊「左」,在頁腳欄中的同一行上顯示「中心」和「右」。
現在,文本對齊,但文本3對齊在3隔離線之下。
這是我的HTML:
<div class="row">
<div id="footer">
<div align="left"><h3>Contact</h3></div>
<div align="center"><h3>Computerbasen</h3></div>
<div align="right"><h3>Info</h3></div>
</div>
</div>
這是我的CSS:
#footer {
background-color: #FF7633;
width: 100%;
height: 50px;
border-radius: 5px;
padding-top: 10px;
position: absolute;
bottom: 0;
}
好吧等我會編輯對不起 – Mikic