Discussions

 View Only
  • 1.  HTML Text example using Well-Formed Elements

    Posted 07-29-2020 14:41
    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
    ------------------------------


  • 2.  RE: HTML Text example using Well-Formed Elements

    Posted 07-29-2020 16:01
    Replace div with span.  A div is a block level argument and automatically creates a line break.

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