Styling Rich Text Block
Posted: 15 Feb 2014
I would like to add a rich text field and style it such that there are no spaces between lines. Sharepoint is generating the following:
<p style="text-align: left; color: rgb(0, 0, 0); font-family: Segoe UI; font-size: 13px; font-style: normal; font-weight: normal;">
<span style="color: rgb(0, 0, 0); font-family: Georgia; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: none;">ClientID: 123456</span>
</p>
I would like to modify the style of only the rich text block to change the paragraph font-size to 0px so that there are no spaces between lines.
I would like it to look like:
Title
Line A
Line B
rather than
Title
Line A
Line B
Using the FD framework, how would I go about overriding this inline style?
<p style="text-align: left; color: rgb(0, 0, 0); font-family: Segoe UI; font-size: 13px; font-style: normal; font-weight: normal;">
<span style="color: rgb(0, 0, 0); font-family: Georgia; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: none;">ClientID: 123456</span>
</p>
I would like to modify the style of only the rich text block to change the paragraph font-size to 0px so that there are no spaces between lines.
I would like it to look like:
Title
Line A
Line B
rather than
Title
Line A
Line B
Using the FD framework, how would I go about overriding this inline style?