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: 5 years 10 months 26 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: 4 years 9 months 30 days
    #2 by Mitch Gates Oct 20 ’14 at 07:43

    Thank you, worked like a charm!

  • Mitch Gates
    Mitch Gates
    Member
    Member for: 4 years 9 months 30 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: 4 years 9 months 30 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!

Displaying 1 to 4 of 4 messages

Related threads