我的問題是,我想要內聯顯示的圖像以列表形式顯示。我不知道我做錯了什麼,因爲在我看來,一切都是正確的。圖像不顯示內嵌
HTML
<div class="loga">
<img style="display:inline;" src="photos/logoWUT_czarne.PNG" width="370" height="135">
<img style="display:inline;" src="photos/bosch_logo_gray.png" height="115" width="380" >
<img style="display:inline;" src="photos/general-electric-logo-png_gray.png" height="115" width="115" >
</div>
CSS
.loga {
display: inline-block;
}
一定有什麼錯我的代碼,因爲它不以任何瀏覽器。
你必須減少一個圖像的寬度以適合容器。 –
否則,您可以浮動您的內容 – Romain