Fields CSS
- This topic has 2 replies, 2 voices, and was last updated 10 years, 6 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Home › Forums › Classic DFFS › Fields CSS
Tagged: Fields CSS
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.
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.
Thanks Julian 🙂
ID is .ms-formbody (data in field) and .ms-standardheader (name of the field).