I have 2 buttons :
I want to place both of them in same line, side by side, but not too far away from each other either.
As of right now this what I have

I try to give them class pull-left and pull-right
This what they come out to be

They're too far away. :(
I want them to look something like this. Possible, with the vertical line in the middle. I am not sure how to do that.

Here is my HTML Code
<p>
<span>
<a class="btn-1" href="/marketing_materials/{{$marketing_material->id}}/download/media_path">
Download
</a>
</span>
</p>
<p>
<span>
<a class="btn-2" href="{{ URL::to('marketing_materials/'.$marketing_material->id.'/edit') }}">
Edit
</a>
</span>
</p>
What should I do to get close to what I want ?
<p> tags, combine them into 1.<p> tag so that they will be in same line as you wanted.style="text-align:center;" into your <p> tag. between them to maintain the spaces | Try this
<p style="text-align:center;">
<span>
<a class="btn-1 pull" href="/marketing_materials/{{$marketing_material->id}}/download/media_path">
Download
</a>
</span>
<span>
<a class="btn-2" href="{{ URL::to('marketing_materials/'.$marketing_material->id.'/edit') }}">
Edit
</a>
</span>
</p>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With