Multiple Lines of Text New/Edit Width
-
- Posts: 4
- Joined: Fri Oct 17, 2014
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
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hello Mitch,
Please, assign a Css Class to your field e.g. my-text and define it in the CSS-editor following way:
Please, assign a Css Class to your field e.g. my-text and define it in the CSS-editor following way:
Code: Select all
.my-text .ms-long {
width: 600px !important;
}
-
- Posts: 4
- Joined: Fri Oct 17, 2014
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!
Thanks!
-
- Posts: 4
- Joined: Fri Oct 17, 2014
Got it figured out, looks like it was the .ms-rtelong class, misread that it was .ms-longer. Thanks for the help!
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests