Results 1 to 4 of 4

Thread: cWebColumnButton Css

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Posts
    2,165

    Default cWebColumnButton Css

    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;
    }
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	button.png 
Views:	79 
Size:	3.9 KB 
ID:	12855  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •