[英]How to fix problems with background img and wrap text around img in BOOTSTRAP
[英]Bootstrap List group item wrap around img
我創建了帶有項目的列表組,但它只環繞其中的文本。 當我嘗試span或img時,它只是不起作用(顯示空項目,下面是我的圖像)。 不知道我在做什么錯
<ul class="list-group">
<li class="list-group-item" ><span class="pull-left "><img src="{{$user->avatar}}" class="img-reponsive img-rounded"</span>{{$ticket->text}}</li>
</ul>
似乎您從未關閉img標簽(/>):
<ul class="list-group">
<li class="list-group-item" >
<span class="pull-left ">
<img src="" class="img-reponsive img-rounded" />
</span>
Text
</li>
</ul>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.