Forum Discussion

MichaelTamoush's avatar
MichaelTamoush
Qrew Captain
5 years ago

HTML Text example using Well-Formed Elements

I am a noob with html, but usually use examples people have made and tailor them as I understand them. I wrote the snip below attempting to have a bold, black text, followed by a blue text. It works, except for it enters a line break between the two elements. What am I doing wrong?

"<div style=\"color:black;\"><b>" & [RM Audit Report Question - Paragraph] & " - </b></div>" & "<div style=\"color:blue;\">" & [Paragraph and Audit Key - Score] & " " & ToText(Round([Paragraph and Audit Key - Score Percentage]*100)) & "%</div>"

------------------------------
Mike Tamoush
------------------------------
  • PaulPeterson1's avatar
    PaulPeterson1
    Qrew Assistant Captain
    Replace div with span.  A div is a block level argument and automatically creates a line break.

    ------------------------------
    Paul Peterson
    ------------------------------