我有是把文本上的圖像的左側的問題...對齊文本旁邊的圖像(左側)
HTML CSS &
h2, social-hand {
font-family: 'PT Sans', sans-serif;
display: inline;
float: left;
margin-left: 95px;
}
p {
float: left;
margin-left: 95px;
margin-right: 400px;
margin-bottom: 20px;
margin-top: 50px;
position: absolute;
text-align: left;
display: inline;
font-family: 'PT Sans', sans-serif;
}
<div class="social-hand"><img src="social-hand.jpg">
<h2><big>Tittle Text</big></h2>
</div>
<p>Example Text <a href="About.html">Read More ></a>
</p>
And this is the result I'm getting...
任何幫助將是驚人的!
嗨,正是你想顯示的圖像的左側哪些文本? –
嘗試使用display:block;而不是 – Xedret