我在做什麼錯? :|將文字放在圖像css旁邊,似乎不起作用
<div id=Content>
<h1>Welcome to the Sophia Centre press</h1>
<h2>New Publications Avaible Soon</h2>
<div id=Malta>
<img src ="images/Malta.jpg" alt="Malta" class="book">
<p>Tore Lomsdalen</p>
<p><em>Sky and Purpose in Prehistoric Malta: Sun, Moon, and Stars at the Temples of Mnajdra.</p></em>
</div>
<div id=Greene>
<img src="images/Greene.png" alt="Greene" class="book">
<p>Liz Greene</p>
<p><em>Magi and Maggidim: The Kabbalah in British Occultism 1860-1940.</em></p>
</div>
</div>
和CSS
h1{
padding: 1em;
}
h2{
padding-left: 1cm;
color: #FF9900;
}
p {
clear: both;
margin: 0% 0% 0% 20%;
}
.book{
float: left;
padding: 2em;
}
它的外觀1) 那應該怎麼找2)
我只是想在文本內容 HALP
請你的代碼添加到你的問題,沒有鏈接。如果你沒有「隱藏」他們的關鍵部分,你會有更好的機會回答你的問題。 – hungerstar
@hungerstar好吧,感謝您的建議 – thedumbone