我在做什么错? :|将文字放在图像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