Button with glyphicon-remove with size problem

Asked

Viewed 92 times

2

Please see this link in demo: http://www.bootply.com/eiG8eKm3Ao

I’m trying to center the "X" inside the red button.

Code:

<button id="del_photo" type="button" style="width:20px;height:20px" class="btn btn-danger btn-sm" title="Excluir">
    <span class="glyphicon glyphicon-remove" style="color:white;font-size:1em"></span>
</button>

Some solution ?

1 answer

2


Substitute:

<button id="del_photo" type="button" style="width:20px;height:20px" class="btn btn-danger btn-sm" title="Excluir">

For:

<button id="del_photo" type="button" style="padding:15px" class="btn btn-danger btn-sm" title="Excluir">

Is one of the solutions...

  • Hi @Magichat, it worked ! Thanks. Check here: http://www.bootply.com/A0AUtnVpaS

Browser other questions tagged

You are not signed in. Login or sign up in order to post.