Field Alignment

Home Forums General discussion Field Alignment

Viewing 1 reply thread
  • Author
    Posts
    • #33524
      Danielle Arcuri
      Participant

        Hi, 2 questions.

        1. I have two multi line text fields in my form – I placed this code in my FieldCSS tab.

        .ms-long{width:250px;}

        It works on one of the fields but not the second field. I have nothing in my custom JS or CSS that would conflict. Why isn’t it working on both?

        2. In NewForm and EditForm my fields are lined up pretty well. How can I happen in DispForm? See picture attached. The fields are all over the place.

        Thanks

      • #33529
        Alexander Bautz
        Keymaster

          Hi,
          Using the .ms-long selector works only on plain text fields – are both fields multiline plain text?

          Also, in DispForm you cannot user this selector as there is no textarea with this class. You must user something like this:

          #dffs_YOUR_FIELD_NAME .ms-formbody{
            width: 400px;
          }

          Replace YOUR_FIELD_NAME with the internal name of your field.

          Alexander

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.