I am adding additional notes using HTML formatting but the PDF looks messy due to additional
tags which keep being added.
I was wondering if there was any way to stop this happening?
Example of my code:
<div style="display:block; background:#125eaa; color:white; width:45%; float:left; padding-right:2.5%; padding-left:2.5%;">
<span style="display:inline-block; text-align:center; width:100%">text</span>
<div style="display:inline-block; width:25%; float:left;">
<span style="display:block; text-decoration:underline; width:100%;">Date</span>
<span style="display:block; width:100%;">23 March 2020</span>
</div>
<div style="display:inline-block; width:75%; float:right;">
<span style="display:inline-block; text-decoration:underline; width:70%; float:right;">text</span>
<span style="display:inline-block; width:70%; float:right;"><b>text</b></span>
<span style="display:inline-block; width:70%; float:right;">text</span>
<span style="display:inline-block; width:70%; float:right;">text</span>
</div>
</div>
<div style="display:block; background:#125eaa; color:white; width:45%; float:right; padding-right:2.5%; padding-left:2.5%;">
<span style="display:inline-block; text-align:center; width:100%">text</span>
<div style="display:inline-block; width:25%; float:left;">
<span style="display:block; text-decoration:underline; width:100%;">date</span>
<span style="display:block; width:100%;">24 March 2020</span>
</div>
<div style="display:inline-block; width:75%; float:right;">
<span style="display:inline-block; text-decoration:underline; width:70%; float:right;">Text</span>
<span style="display:inline-block; width:70%; float:right;"><b>Text</b></span>
<span style="display:inline-block; width:70%; float:right;">Text</span>
<span style="display:inline-block; width:70%; float:right;">Text</span>
</div>
</div>
The code gets a
tag added after every
Example
<div style="display:block; background:#125eaa; color:white; width:45%; float:left; padding-right:2.5%; padding-left:2.5%;">
<br>
<span style="display:inline-block; text-align:center; width:100%">text</span>
<br>
<div style="display:inline-block; width:25%; float:left;">
<br>
<span style="display:block; text-decoration:underline; width:100%;">Date</span>
<br>
<span style="display:block; width:100%;">23 March 2020</span>
</div>
<br>
<div style="display:inline-block; width:75%; float:right;">
<br>
<span style="display:inline-block; text-decoration:underline; width:70%; float:right;">text</span>
<br>
<span style="display:inline-block; width:70%; float:right;"><b>text</b></span>
<br>
<span style="display:inline-block; width:70%; float:right;">text</span>
<br>
<span style="display:inline-block; width:70%; float:right;">text</span>
</div>
</div>
<br>
<div style="display:block; background:#125eaa; color:white; width:45%; float:right; padding-right:2.5%; padding-left:2.5%;">
<br>
<span style="display:inline-block; text-align:center; width:100%">text</span>
<br>
<div style="display:inline-block; width:25%; float:left;">
<br>
<span style="display:block; text-decoration:underline; width:100%;">date</span>
<br>
<span style="display:block; width:100%;">24 March 2020</span>
</div>
<br>
<div style="display:inline-block; width:75%; float:right;">
<br>
<span style="display:inline-block; text-decoration:underline; width:70%; float:right;">Text</span>
<br>
<span style="display:inline-block; width:70%; float:right;"><b>Text</b></span>
<br>
<span style="display:inline-block; width:70%; float:right;">Text</span>
<br>
<span style="display:inline-block; width:70%; float:right;">Text</span>
</div>
</div>