HTML Web Resource unable to display all lines

1.5k Views Asked by At

I have a HTML web resource in Dynamics 365 which displays a list of text. However, the output is unable to display all lines, resulting in the last 2 lines being cut off. May I know how can I solve it?


enter image description here


<html>

<head></head>

<body style="overflow-wrap: break-word;">
    <font face="Arial"><b><u>Test List</u></b></font>
    <ol class="RTE_list_style_position">
        <li><font face="Arial">Test line 1</font></li>
        <li><font face="Arial">Test line 2</font></li>
        <li><font face="Arial">Test line 3</font></li>
        <li><font face="Arial">Test line 4</font></li>
        <li><font face="Arial">Test line 5</font></li>
        <li><font face="Arial">Test line 6</font></li>
        <li><font face="Arial">Test line 7</font></li>
    </ol>

</body>

</html>
2

There are 2 best solutions below

3
On BEST ANSWER

You can set the height by setting this “Number of Rows” in form editor webresource properties. Also you can check that “Automatically expand to use available space” checkbox.

enter image description here

Read more

0
On

Maybe try changing the overflow to this:

<body onfocusout="parent.setEmailRange();" style="overflow: auto;">