
Announcements
Hey All,
I'm using an HTML Text element with Auto Height on because the value may be one or more lines (with a Display Mode of "View"). I'm getting a lot padding above and below the text. When I go back to the multi-line text field in SharePoint from where the value came, I see the reason. The value is surrounded by "<div class="ExternalClass620B0B5A1B3A4E1F97EA27C371AB1C38">" and "<br/></div>". Is there any way to counteract this to remove the extra padding above and below?
Thanks,
Scott
Hi @srosenbloom ,
To remove the extra padding above and below the text in the HTML Text element, you can use the following CSS style directly in the HTML Text element:
<style>
.ExternalClass620B0B5A1B3A4E1F97EA27C371AB1C38 {
margin: 0; /* Remove margin */
padding: 0; /* Remove padding */
}
</style>
<div class="ExternalClass620B0B5A1B3A4E1F97EA27C371AB1C38">
<!-- Your text here -->
</div>