Adding table borders

Forums Dynamic Forms for SharePoint Adding table borders

This topic contains 2 replies, has 2 voices, and was last updated by  Sonoma 3 years, 9 months ago.

  • Author
    Posts
  • #6207

    Sonoma
    Participant

    In the Field CSS I can add cell borders fairly easy but I if I have the field’s label set to top it does not surround it completely.
    Is there a simple solution for this?

    Thank you.

  • #6220

    Alexander Bautz
    Keymaster

    Hi,
    When using side-by-side the Field CSS tab cannot take you all the way. Skip setting the border CSS there, and go to the Misc tab and add this to the custom CSS:

    #sbs_FieldTable_YourFieldNameHere{
    border-left:2px red dashed;
    }

    “YourFieldNameHere” is the FieldInternalName of the field you want to target.

    Alexander

  • #6225

    Sonoma
    Participant

    Perfect. That works. Thank you.

    
    
    #sbs_Field_PN1DATE, #sbs_Field_PN2DATE, #sbs_Field_PN3DATE{
    border-left:2px  solid;
    border-right:2px  solid;
    border-top:2px  solid;
    }
    
    #sbs_Field_TIPN1DATE, #sbs_Field_TIPN2DATE, #sbs_Field_TIPN3DATE{ 
    border-right:2px  solid;
    border-top:2px  solid; 
    }...

You must be logged in to reply to this topic.