How to Prevent Text Labels running beyond the page width?

  • Profile Image
    cmsacomms
    Asked on February 03, 2015 at 08:13 PM

    Hi, some of my question labels are running off the page in Google Chrome (see screenshot). Is there any CSS that I can include to prevent this happening?

     

     

    Screenshot
  • Profile Image
    Charlie
    Answered on February 03, 2015 at 11:46 PM

    Hi,

    Upon checking your CSS codes, it seems that you have errors in it. To avoid further problems please also fix them.

    Here's a sample code that you can use to put a wrap on your form labels so that they may not overlap in your form.

    .form-checkbox-item label {

        white-space : normal;

    }

    Let us know if this works.

    Thank you.