html - Text Wrap Laravel pulling article From DB -
i'm using laravel, pulling article db , displaying image, it's lorem ipsum generated.
question: how article wrap around image , beneath it.
img ur pic can see!
@extends('layouts.main') @section('headcontent') <div class="container" class=""> <div class="row"> <div class="col-md-6"> <a href="{{ url::route('equipment-item') }} " alt="{{$fd->name }}"><h2 class="page-header">{{$fd->name }}</h2></a> <small>created: {{ $fd->created_at }}</small> <img src="{{ $fd->image }}" alt="{{$fd->name }}"> </div> <div class="col-md-12"> //if go <div class="col-md-6" (the other 50% of first div) acts side bar. <article class="dbarticle"> {{ markdown::parse($fd->description) }} </article> <a href="{{ url::route('equipment') }}">equipment » </a> </div> </div> </div> </div> @stop //css --> using bootstrap, no other styles.
i feel it's not possible way set up, i've been known wrong (:
you need have article in same tag img. not own.
here how go
<div> <div style="float:left;"> <img src="your image here" /> </div> article text </div>
Comments
Post a Comment