我需要一個圖中所示的排列,因爲我無法發佈圖像請點擊this link。在評論部分正確排列文字
因爲我已經編碼爲相同如下
HTML
<div class="container">
<div class="test-item">
<span class="test-head">
<img src="images/testimonial_item.png" class="img-responsive" />
</span>
<p class="test-quote">
Cras mattis consectetur purus sit amet fermentum. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus erat porttitor.
<span class="test-author" >
Lorem Ipsum
</span>
<br />
<span class="test-author-org">
lorem
</span>
</p>
</div>
</div>
CSS
.testimonial
{
background: #fff;
padding:60px 0px !important;
position:relative;
}
.test-head {
float: left;
width: 10% !important;
}
.test-head img
{
height:80px;
width:auto;
}
.test-author-org,.test-author
{
float:right;
padding:0;
margin:0;
color:#626262;
}
.testimonial p
{
padding-right:70px !important;
}
.test-item
{
background:#e6e6e6;
border-radius:70px;
min-height:81px;
}
.testimonial .test-quote
{
display: block;
font-family: Arial;
font-size: 14px;
color: #0a3980;
text-align: left;
padding:10px 0 0 0 ;
margin-bottom:0px!important;
clear:right;
}
怎麼能我把它確切的圖像?
請幫助任何人
@DelightedDOD的左端對齊我不明白你爲什麼旋轉該圖像,請檢查證言作者的文字安排,這是我需要的,我不想旋轉圖像或什麼都沒有 – droidev 2015-02-24 09:36:02
林不知道我跟着。我旋轉了圖像,因爲使用的圖像指向下方,而鏈接顯示在這裏http://s6.postimg.org/uvdgh7uzl/foto.png旋轉並指向右側。至於文本,我把錯誤的鏈接到jsfiddle(現在修復它)。它看起來非常接近你展示的內容。見http://prntscr.com/6968bw – DelightedD0D 2015-02-24 10:14:08
我會檢查出 – droidev 2015-02-24 11:39:28