Adjust the height/width of the body part of Description field
- Sebastian Haugland
- Posts: 43
- Joined: Fri Sep 19, 2014
- Contact:
I want to change the height and width of the Description field to se more lines/text but only manage to adjust the "frame around" not the body itself.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
What type of the field you use: Rich Text, Enhanced Rich Text, or Plain Text?
What type of the field you use: Rich Text, Enhanced Rich Text, or Plain Text?
- Sebastian Haugland
- Posts: 43
- Joined: Fri Sep 19, 2014
- Contact:
Hi
The Description filed is multiline Enhanced rich text (Rich text with pictures, tables, and hyperlinks)
The Description filed is multiline Enhanced rich text (Rich text with pictures, tables, and hyperlinks)
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Please, assign a CSS class to your field, say, 'my-text', and define it in the CSS-editor following way:
Please, assign a CSS class to your field, say, 'my-text', and define it in the CSS-editor following way:
Code: Select all
.my-text .ms-rtestate-write {
min-height: 400px !important;
}
- Sebastian Haugland
- Posts: 43
- Joined: Fri Sep 19, 2014
- Contact:
Hi
So sorry I was wrong - the Description Field is Rich text (Bold, italics, text alignment, hyperlinks)
Tehn I need a different script than that the above (that did not work).
So sorry I was wrong - the Description Field is Rich text (Bold, italics, text alignment, hyperlinks)
Tehn I need a different script than that the above (that did not work).
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
So, please, assign a CSS class to the field ('my-text' in this sample) and insert the following code into the JavaScript editor of Forms Designer:
Code: Select all
$('.my-text iframe.ms-rtelong').attr('height', 200);
-
- Information
-
Who is online
Users browsing this forum: No registered users and 10 guests