Solved

Could you suggest a way to format this by using Bootstrap?

Posted on 2016-11-04
6
56 Views
Last Modified: 2016-11-08
Hi Experts

Could you suggest a way to format these conrols by using Bootstrap?

The controls are too closer one from the other.

img004
link = link+ "<p><a href=\'"+valor.anexo+ "\' target=\'_blank\' class=\'anexo\' name=\'link\'>"+anexo+"</a><button type=\'button\'  class=\'call-ajax\' data-anexo=\'" + anexo + "\' data-id_rec=\'" + id_rec+ "\'>Excluir</button></p>";

Open in new window


Thanks in advance!
0
Comment
Question by:Eduardo Fuerte
6 Comments
 
LVL 9

Expert Comment

by:Prasadh Baapaat
ID: 41874674
Not clear what your question is...  it will be better if you give a URL instead of image
0
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 41874685
Maybe add some CSS to the cascade after the Bootstrap CSS.  You can put some margin to the left of the Excluir  button.
0
 
LVL 52

Assisted Solution

by:Julian Hansen
Julian Hansen earned 50 total points
ID: 41875177
Just put a &nbsp; between </a> and </button>
link = link+ "<p><a href=\'"+valor.anexo+ "\' target=\'_blank\' class=\'anexo\' name=\'link\'>"+anexo+"</a> &nbsp; <button type=\'button\'  class=\'call-ajax\' data-anexo=\'" + anexo + "\' data-id_rec=\'" + id_rec+ "\'>Excluir</button></p>";

Open in new window

0
 
LVL 82

Accepted Solution

by:
leakim971 earned 450 total points
ID: 41875340
For example :
link = link+ "<p><a href=\'"+valor.anexo+ "\' target=\'_blank\' class=\'anexo btn btn-primary\' name=\'link\'><span class=\'glyphicon glyphicon-eye-open\'></span> "+anexo+"</a><button type=\'button\'  class=\'call-ajax btn btn-danger\' data-anexo=\'" + anexo + "\' data-id_rec=\'" + id_rec+ "\'><span class=\'glyphicon glyphicon-remove\'></span> Excluir</button></p>";

Open in new window


test page : https://jsfiddle.net/fdL1q0hv/

          <a href="/some/link" target="_blank" class="anexo btn btn-primary"><span class="glyphicon glyphicon-eye-open"></span> img_EE_041116_002.png</a>  
      <button type="button" class="call-ajax btn btn-danger" data-anexo="anexo" data-id_rec="someid">
        <span class="glyphicon glyphicon-remove"></span> Excluir
      </button>

Open in new window

0
 

Author Comment

by:Eduardo Fuerte
ID: 41878548
Thank you very much!

Fits very well to my needs.

img001
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now