Solved

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

Posted on 2016-11-04
6
79 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 57

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

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

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

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo‚Ķ
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

739 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