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

  • menstrom
    Asked on April 19, 2016 at 3: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:

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

     

    How it looks in Preview:

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

     

    Thanks,

    Marilyn

  • victor
    Replied on April 19, 2016 at 4: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;

    }

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

    Please let us know if this helps.

  • menstrom
    Replied on April 19, 2016 at 5:02 PM

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

    Thanks!

    Marilyn

  • victor
    Replied on April 19, 2016 at 6:07 PM

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