Skip to main content
Question

HTML Text example using Well-Formed Elements

  • July 29, 2020
  • 0 replies
  • 42 views

Forum|alt.badge.img+14
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
------------------------------

Replace div with span.  A div is a block level argument and automatically creates a line break.

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