Login for your services
Digital Diary My Tasks Bookmarks My Q/As
AXARROW HIGHLIGHTS
I am using class="btn-group" like :-
 
     <div class="btn-group">
  
and placing buttons using @ActionLink method, but this is not providing any space between buttons. I need a space of at least 2px. Pls suggest.
Recent Articles
TECHNOLOGY QUESTION -DETAILS WITH ANSWERS: (1)
How to add space between buttons in bootstrap in ASP.NET
I am using class="btn-group" like :-
 
     <div class="btn-group">
  
and placing buttons using @ActionLink method, but this is not providing any space between buttons. I need a space of at least 2px. Pls suggest.
Question ID:000034 Submitted by: Surinder Kumar on 7/17/2017 Associated Tags:
Answered By Answer - ID: 00040
Mukul Prohit On: 7/17/2017
Answer The simplest way of having a space between buttons is to add a style and place it either at the top sections of code file or in the _Layout.cshtml file. Try this: -


.btn{
            margin-right:2px;
            margin-bottom:2px;
        }


Provide Your Answer