我正在嘗試創建一個鏈接到頁面的2個圖像的頁腳。頁腳右側的Css圖像
這兩個鏈接/圖片應保留在頁腳的右側。
圖片應該彼此相鄰並留有一點空白。
如何管理這與CSS?
<footer>
<a href="http://www.google.de/" target="_blank">
<img src="test.jpg" alt="logo.jpg">
</a>
<a href="http://www.google.de" target="_blank">
<img src="test.jpg" alt="logo.jpg">
</a>
</footer>
是否有可能塔t圖像是否適合頁腳的高度? – Micheasl
您可以嘗試:img {max-width:100%; }或img {max-height:100%; }。我相信調整一個也會調整其他方面。根據他們的原始大小,但他們可能看起來很奇怪(拉伸等) –
我不明白我的圖像走出頁腳 – Micheasl