Multiple Lines of Text New/Edit Width

rss

Posted by Mitch Gates - Oct 17 ’14 at 05:21

I am working on creating a form but have been having some issues on resizing multiple lines of text boxes.  I have a table where I want a "comments" box to have a width of colspan of 2, right now it is sticking to a static size.  I only want to change the one multiple lines of text box, not all of them in the form.  Here is a screenshot for reference:

 

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 2 months 18 days
    #1 by Dmitry Kozlov Oct 20 ’14 at 04:31

    Hello Mitch,

    Please, assign a Css Class to your field e.g. my-text and define it in the CSS-editor following way:

    .my-text .ms-long {
    	width: 600px !important;
    }
    
  • Mitch Gates
    Mitch Gates
    Member
    Member for: 7 years 1 month 21 days
    #2 by Mitch Gates Oct 20 ’14 at 07:43

    Thank you, worked like a charm!

  • Mitch Gates
    Mitch Gates
    Member
    Member for: 7 years 1 month 21 days
    #3 by Mitch Gates Oct 20 ’14 at 10:56

    One more question.. This does work with plain text multiple lines of text, but if I switch to rich text it no longer works.. I tried replacing class with .ms-longer but seems to not work.  Any suggestions?

     

    Thanks!

  • Mitch Gates
    Mitch Gates
    Member
    Member for: 7 years 1 month 21 days
    #4 by Mitch Gates Oct 20 ’14 at 05:22

    Got it figured out, looks like it was the .ms-rtelong class, misread that it was .ms-longer.  Thanks for the help!

  • acquiro
    Member
    Member for: 1 year 6 months 15 days
    #5 by acquiro Jul 7 ’20 at 01:32
  • Oddyann
    Member
    Member for: 11 months 24 days
    #6 by Oddyann Dec 14 ’20 at 02:17

    [Thanks](https://mail.google.com/)

  • Ethanjohn651
    Member
    Member for: 10 months 10 days
    #7 by Ethanjohn651 Jan 27 ’21 at 07:26

    Adjusts text lines automatically according to the height of the biggest character. There is more space between text lines with larger characters. This is the default configuration. cheap assignment writing service

Displaying 1 to 7 of 7 messages

Related threads