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>
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다