Solved

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

Posted on 2016-11-04
6
84 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 10

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 110

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 58

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

631 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