我是新來的,因爲當它第一次來到生活新手HTML5和CSS3的問題與定位一些圖標
總之,我學習如何在HTML5此刻代碼& CSS3工作HTML HTML5 & CSS和新建。但碰到了路障...
我想讓我的頁腳背景左側的版權信息和我的瀏覽器圖標右側的頁腳背景....我一直在玩問題9個小時我不放棄,甚至嘗試了一些建議,我發現這裏沒有工作...
如果你想看到實際的頁面,你可以轉到 http://cowboy0629.ddns.net/test
.mainFooter {
width: 97%;
float: left;
height: 40px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
background-color: #141476;
margin: 2% 1.5% 2% 1.5%;
}
.footerIcons img.chrome {
width: auto;
height: 20px;
}
.footerIcons img.firefox {
width: auto;
height: 23px;
}
.footerIcons img.safari {
width: auto;
height: 23px;
}
.footerIcons {
float: right;
height: 9px;
}
.footerIcons ul {
float: right;
padding: 0;
margin: 0 auto;
}
.footerIcons li {
float: right;
list-style:none;
margin-left:5px;
}
.footerIcons span p {
height: 20px;
float: left;
color: #3399FF;
width: 97%;
margin: 9px;
}
<footer class="mainFooter">
<div class="footerIcons">
<span>
<p>Copyright © 2017 <a href="http://cowboy0629.ddns.net" title="cowboydesign.com">cowboyDesigns.com</a></p>
</span>
<ul> \t \t \t
<li>
<img class="chrome" src="images/icons/black-chrome-icon.png" alt="">
</li>
<li>
<img class="firefox" src="images/icons/black-firefox-icon.png" alt="">
</li>
<li>
<img class="safari" src="images/icons/black-safari-icon2.png" alt="">
</li>
</ul>
</div> \t
</footer>
這很好用..這是我解決問題還是不瞭解我認爲我知道如何去做的問題。 .. –
只要對基礎知識有一個很好的理解。 MDN是一個開始的好地方。 –