The image and buttons are inside a div. How can i make the image occupy the whole div with buttons on the top right corner on the image?
This is the div that contains two buttons and an image. How can i place the two buttons on the top right corner of the image?
I tried to do position:relative;top:25px but the button will behind the image
<div class="image">
<a href="{{ url('/image/'.$image->id.'/delete') }}">
<button type="button" class="btn btn-default delete-image-btn pull-right">
<span class="glyphicon glyphicon-trash"></span>
</button>
</a>
<a href="{{ url('/image/'.$image->id.'/edit') }}">
<button type="button" class="btn btn-default edit-image-btn pull-right">
<span class="glyphicon glyphicon-pencil"></span>
</button>
</a>
<img src="{{ $image->image }}" class="img img-responsive full-width">
</div>
