I have some buttons in a grid that I have the following CSS (this is one of many iterations) which I want buttons same size and spaced
Now the sizing and rounding arer ok but I cannot get space between them.
What am I missing
Code:
Define C_CalendarButton for 'ButtonSameSize'
Procedure OnDefineButtons
If (BookingCalendar.Mon='') Begin
Send AddButton "C" "Add Casual" C_CalendarButton
Send AddButton "P" "Add Permanent" C_CalendarButton
End
Else Begin
Send AddButton "R" "Remove" C_CalendarButton
End
End_Procedure
Code:
.ButtonSameSize {
width: 120px;
height: 40px;
border-radius: 20px;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
margin-top: 10px;
margin-bottom: 10px;
margin-right: 10px;
margin-left: 10px;
}