I have changed the width of some of my labels, but Preview does not show this

  • Profile Image
    menstrom
    Asked on April 19, 2016 at 03:37 PM

    I have used CSS to change the width of some of my labels to be narrower than the majority of them.  When I look at the form in Designer, the labels are the width I set.  But when I do a Preview, they are not.  Shouldn't the preview look the way the form is going to look?

     

    How it looks in Designer:

     

    How it looks in Preview:

     

    Thanks,

    Marilyn

  • Profile Image
    victor
    Answered on April 19, 2016 at 04:55 PM

    In your CSS, you require to add !impotant as this will over right any other code is already implemented

    #label_21 {

        width : 200px !important;

    }

    Please let us know if this helps.

  • Profile Image
    menstrom
    Answered on April 19, 2016 at 05:02 PM

    Yes, that did the trick!  I am really new to this CSS stuff, so I'm learning as I go.

    Thanks!

    Marilyn

  • Profile Image
    victor
    Answered on April 19, 2016 at 06:07 PM

    Glad I was able to assist. If you have any other question or issue, please do no hesitate contacting us.