Fields CSS

Home Forums Classic DFFS Fields CSS

Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #11369
      RobCZ
      Participant

        Hi, I don’t have a clue how to set width of the field in dispform.aspx in Field CSS tab. The field type is Multiple line of text.

        It does work in newform.aspx with input {width: 800px;} and in editform.aspx with textarea {width: 800px;}. Neither of them does work in dispform.

        Thanks for your tips folks.

      • #11373
        Julian Knight
        Participant

          This is similar to another query that came up recently. The Display “form” is not an HTML form. So there are no input or textarea elements. You should use your browsers developer tools to investigate the elements that make up the display.

          In general, if you want to keep the CSS simple. Use ID’s not tag names.

        • #11380
          RobCZ
          Participant

            Thanks Julian 🙂

            ID is .ms-formbody (data in field) and .ms-standardheader (name of the field).

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.