テキストを画像の右に置くにはどうすればいいですか?http://i.imgur.com/3hDi0mW.png。私は私のためにcommands..butの明確な、float..aたくさんで試してみましたが、それは動作しません。..テキストを画像の右に置く
uは私を助けてくださいことはできますか?感謝:) ここに私のコードは次のとおりです。
#subcontent {
margin: 0 auto;
width: 70%;
border-top: 1px solid #ececec;
background-color: red;
}
.person {
float: left;
display: block;
margin: 0 auto;
width: 35%;
}
p {
font-size: 12px;
clear: right;
float: left;
}
.group2 {
overflow: hidden;
margin: 0 auto;
}
.person2 {
float: left;
display: block;
margin: 0 auto;
width: 35%;
}
.textwrap {
float: left;
clear: left;
}
<div id="subcontent">
<div class="group2">
<div class="person">
<img class="textwrap" src="http://i.imgur.com/zzqeeyc.png">
<p>A creative man is motivated by the desire to achieve, not by the desire to beat others. Jane Goodall - Residential Customer</p>
</div>
<div class="person2">
<img class="textwrap" src="http://i.imgur.com/zzqeeyc.png">
<p>A creative man is motivated by the desire to achieve, not by the desire to beat others. Jane Goodall - Residential Customer</p>
</div>
</div>
</div>